Selecting edges connecting selected nodes

428 views
Skip to first unread message

Francisco Domingues

unread,
May 12, 2012, 8:26:07 AM5/12/12
to cytoscape-helpdesk
Dear all,

I have a simple question:
What is the best way to select the edges connecting selected nodes? (2
or more nodes).
Basically the edge equivalent of the existing command:
"Nodes Connected by Selected Edges"

The command: "Select Adjacent Edges" also selects edges connecting to
nodes outside of the initial node set, not what I need...


The only way I see to select edges connecting selected nodes is:
Start with a selection of nodes
Deselect all edges (making sure you start with empty selection of
edges)
Invert Node Selection
Select Adjacent Edges
Invert Edge Selection

This way you have to select first all the edges you do not want, and
then invert the selection.
This works but is a complicated way to get something as simple as the
edge connecting two selected nodes...

Any better suggestion on how to do it are welcome

Thank you
Francisco

Alexander Pico

unread,
May 24, 2012, 3:53:59 PM5/24/12
to cytoscape...@googlegroups.com
Hi Francisco,

There is not a single click solution, like there is for All Adjacent Edges, so it looks like you found the correct procedure. This would be a simple app to develop if this were something you wanted to do often and wanted to share the feature with colleagues. But otherwise, it's probably not worth the effort.

 - Alex
Reply all
Reply to author
Forward
0 new messages