Tany
#1
Hi,
I’m using link labels as shown in the picture:
The left label is marked for segmentFraction=0.05 and the right one for 0.85.
The rest link templates are equal for both labels, as as follows :
When i move the right node to the left to be close to the left node. the node icon hides the right link label, as shown :
How can avoid the node to hide the label ?
Regards,
Tany
walter
#2
For fixed size labels if you use fractional distances you must expect problems as the size/length decreases.
Try setting { segmentIndex: -2, segmentOffset: new go.Point(-20, 10) }
, and fiddle with the numbers for the offset.
walter
#4
Yes? How can I help you without more information?
Tany
#5
What kind of information would you like ?
walter
#6
How about:
myDiagram.linkTemplate =
$(go.Link,
{ routing: go.Link.Orthogonal },
$(go.Shape),
$(go.TextBlock, "LABEL",
{ segmentIndex: -1, alignmentFocus: go.Spot.BottomRight })
);
