problem is this:
https://www.screencast.com/t/fjjpaaG0su
for some reason it seems that labels are attached to one segment… but rotate to match another segment… :S
any ideas?
this is how the label is defined:
$GO(go.TextBlock, 'outcome', // the label
{
name: 'LABELTHING',
textAlign: 'center', alignment: go.Spot.Center, alignmentFocus: go.Spot.BottomCenter,
stroke: '#242424',
segmentFraction: 0.5,
segmentOrientation: go.Link.OrientUpright
}, ...debugShapeBindings(), // just something about opacity... or an empty array
new go.Binding('text', 'label'),
new go.Binding('visible', 'showLabel'),
new go.Binding('font', 'defaultLinkFont', v => (v || 'bold 13px sans-serif')).ofModel(),
new go.Binding('stroke', 'defaultLinkTextColor', v => (v || 'black')).ofModel()
),