the-graph icon indicating copy to clipboard operation
the-graph copied to clipboard

Magnify receiving node ports when edge dragged over

Open bergie opened this issue 10 years ago • 2 comments

When user is creating a new edge, we should magnify the ports of a node (similarly to how they're shown in the node contextmenu) when the edge is dragged over a node.

screenshot 2014-03-05 at 17 13 56

They should be returned when user drags out of the node.

Incompatible ports should be greyed out, leaving only ports of:

  1. same type as the port being dragged from
  2. all type
  3. bang type

visualized. See meemoo/dataflow#63 and noflo/dataflow-noflo#5 for the way we did this originally.

bergie avatar Mar 05 '14 16:03 bergie

Need some design on this.

If they are going to expand when the pointer is to the left of the node, there needs to be a transparent element there to get the pointerenter. This would be applied only when the preview edge is present.

forresto avatar Mar 25 '14 11:03 forresto

Also, number -> string?

forresto avatar Mar 25 '14 11:03 forresto