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

Show/Hide ports while creating link

$
0
0

@Shawn wrote:

We are developing highly interactive canvas using GoJS. Application has number of different types of nodes that the user can place on the canvas from a pallet. Each node can have one to many input or output (or both) port types depending on the node, therefore we are placing visual ports on either right or left side of nodes. These diagrams can get very complicated and we like to be able to hide the ports until user is ready to connect the nodes. Using simple MouseEnter and MouseLeave events over a node can show/hide the ports. However, when user starts drawing a link we want to show the ports on node which they want to connect to. The two events don’t fire when user is drawing a link. Is there a way to find out which node the mouse is getting close to or is over while drawing a link, so we be able to show that node’s ports?

Capture

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles