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

Inserting a node on an existing link... automatically

$
0
0

@Darwin wrote:

Hello,
I want to know how it would be possible to do the following: say we have three nodes in the diagram, A, B and C
Say that A and B are linked.

Now, I want to drag and drop C over the existing "A-to-B" link, and when I do that, I want the link to automatically convert into something like: an "A-to-C" link and a "C-to-B" link. Basically, I want the action of dropping a node over an existing link to insert the node in the middle and split the link in two.

I could not find any such example. It is possible, and if so, how would you do it?

Regards,

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles