Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7406

segmentFraction not working

$
0
0

@jude wrote:

Following the docs here, the blue circle should've been towards the "to" node. However, it's sticking to the "from" node:

Here's my link template:

myDiagram.linkTemplate =
    $$(go.Link,
        {routing: go.Link.AvoidsNodes, corner: 5},
        $$(go.Shape, {strokeWidth: 1, stroke: colours.light_gray}),
        $$(go.Shape, {toArrow: "Standard", fill: colours.light_gray, stroke: colours.light_gray}),
        $$(go.Shape, "Ellipse", {
            segmentIndex: 0,
            segmentFraction: 0.8,
            width: 30,
            height: 30,
            fill: "rgb(82, 172, 248)",
            strokeWidth: 0
        })
    );

What am I doing wrong?

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7406