unselect all nodes

119 views
Skip to first unread message

giovanni scardoni

unread,
May 22, 2013, 11:36:33 AM5/22/13
to cytoscap...@googlegroups.com
Hi,
is there a way to unselect all the nodes of a network without
iterating on all the nodes?

(the old unselectall() method)
thank you!

--
Giovanni Scardoni
The Center for BioMedical Computing (CBMC)
www.cbmc.it/~scardonig/
University of Verona
Strada le Grazie, 15 -37134
Verona -Italy

Try these Cytoscape apps!
CentiScaPe: http://www.cbmc.it/~scardonig/centiscape/centiscape.php
Interference: http://www.cbmc.it/~scardonig/interference/Interference.php

Jason Montojo

unread,
May 22, 2013, 2:04:51 PM5/22/13
to cytoscap...@googlegroups.com
Hi Giovanni,

At the moment we don't have an API method that does this.  You'll have to either iterate over all the CyNodes, or all the CyRows in the node table.  If you're concerned about performance, it's more efficient to iterate over the CyRows.

Thanks,
Jason



--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-disc...@googlegroups.com.
To post to this group, send email to cytoscap...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages