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

Component port filtering

Open chadrik opened this issue 8 years ago • 1 comments

Here are some ideas on how to deal with components with many ports, borrowed from Autodesks' maya:

maya_node_graph_expand_contract

Here's what's going on:

Each node has a 3-state toggle menu in the upper-right hand corner that controls port display. the states are:

  1. collapse all ports to one "omni" input port and one "omni" output port
  2. show connected ports only
  3. show all ports

I think we only need modes 2 and 3. As a user, I would set my components to show "all ports" when editing the graph so that it's easy to connect new edges, and then when running and monitoring the graph I would set components to "connected-only" mode so that it's more condensed. Maybe noflo-ui could automatically switch between modes depending on whether the graph is running or not?

Here's another feature that allows ports to be filtered by name:

maya_node_graph_filtering

Might be overkill for now, but thought I'd throw it out there.

@djdeath since you are another user who has components with many ports, what do you think of these ideas?

chadrik avatar May 23 '16 00:05 chadrik

VIzor.io has something similar with node collapsing:

vizor-node-collapse

Filtering would be next-level, maybe only enabled on nodes with > 9 ports or something.

forresto avatar Jun 24 '16 16:06 forresto