Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

How to make lines connecting reshaping handles to link endpoints?

$
0
0

@david0 wrote:

Hi, I'm using reshapable bezier curved links, as in the example here: http://gojs.net/latest/samples/stateChart.html

When a link is selected, I'd also like to show straight lines connecting each of the link endpoints with its respective link reshaping tool handle, so that users can easily find each handle (especially if it has ended up outside of the viewport).

I see handleArchetype in LinkReshapingTool, but that doesn't seem to be quite what I want since it doesn't appear to accept bindings, etc, since it's just an archetype.

Can you suggest a way to accomplish this? Maybe subclassing LinkReshapingTool and overriding makeAdornment somehow? Or is there a simpler way?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles