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

Question on restricting max inbound links

$
0
0

@incursus wrote:

So, I have a rectangular node that I want to allow only one (1) inbound link into. However, I want a port on each side of the node for routing convenience. I can set toMaxLinks on each port, but that would still allow a total of four (4) inbound links, one per port. I tried setting toMaxLinks on the node itself, but that didn't work, as it appears that if a node has ports, they reign supreme.

One idea I had would be to somehow disable (or worst case, remove) the other ports if an inbound link is made.

Any thoughts on how to tackle this?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6968

Trending Articles