Hi, is there any way to rotate part of a label?
I have this:
(the label is actually a horizontal panel with 2 textblocks, one for the text and another for the arrow)
and I would like the arrowhead to point in the right direction. Can I change the orientation of just the arrowhead?
I tried the following with no luck:
diagram.linkTemplate =
$(go.Link,
$(go.Shape), // this is the link shape
$(go.Panel, "Horizontal", {
segmentOffset: new go.Point(0, -10),
},
$(go.TextBlock, "NAME", {
segmentOrientation: go.Link.OrientUpright,
}),
$(go.TextBlock, "►", {
segmentOrientation: go.Link.OrientAlong
})
)
);