+ Resource alp = graph.getPossibleObject(diagram, DN.Diagram_arrowLengthProperty);
+ //System.out.println("alp: " + NameUtils.getURIOrSafeNameInternal(graph, alp));
+ if (alp != null) {
+ Variable alpv = Variables.getPossibleVariable(graph, alp);
+ if (alpv != null) {
+ //System.out.println("alpv: " + alpv.getURI(graph));
+ arrowLengthProperty = alpv.getPropertyValue(graph, DN.Edge_ArrowLengthProperty_value);
+ }
+
+ arrowLengthGain =
+ safeDoubleProperty(graph, alp, DN.Edge_ArrowLengthProperty_gain, 1)
+ * safeDoubleProperty(graph, diagram, DN.Diagram_arrowLengthGain, 1);
+ arrowLengthBias =
+ safeDoubleProperty(graph, alp, DN.Edge_ArrowLengthProperty_bias, 0)
+ + safeDoubleProperty(graph, diagram, DN.Diagram_arrowLengthBias, 0);
+ }