Adding node to existing group--desktop version.

144 views
Skip to first unread message

davey561

unread,
Jul 18, 2018, 2:00:39 PM7/18/18
to cytoscape-helpdesk
How does one add a node to an existing group of nodes in the desktop version?

Scooter Morris

unread,
Jul 19, 2018, 10:33:49 AM7/19/18
to cytoscape-helpdesk
Unfortunately, there isn't an easy way through the UI to add a node to an existing group, although there is an API call that does it.  It's probably something we could add in a future release, though.  How would you see this working?  Right click on node, context menu Group->Add Node to Group, popup to choose the group name?  Some other approach?

-- scooter

ds...@williams.edu

unread,
Aug 10, 2018, 11:38:19 PM8/10/18
to cytoscape-helpdesk
Yes, that's pretty much what I had in mind. I guess the reverse would be to right click on the group and select Add Node to Group from that context menu, and then select the node either by clicking on it or from a drop-down menu.

I'm not sure this would be as simple, but alternatively, when a group shape is displayed as a faded backdrop to its member nodes (the default), it would be nice to be able to drag the desired node to within the group shape's border, thereby adding it to the group. This would probably imply that non-group members can't be within the group's shape, whereas it nodes of any group can be anywhere on the viewport in the current version.
Reply all
Reply to author
Forward
0 new messages