den-run-ai / yapgvb

Automatically exported from code.google.com/p/yapgvb
0 stars 0 forks source link

Hide a node #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to hide a node.

g.hide();
or, g.visibility = False;

Would be nice with a .del_node() function too.

Original issue reported on code.google.com by eldman...@gmail.com on 3 Apr 2009 at 11:19

GoogleCodeExporter commented 9 years ago
Graphviz isn't really designed for dynamic graph behavior like deleting nodes or
changing attributes after rendering has occurred.  AFAIK the backend does not 
have a
way to delete nodes.  Inasmuch as Yapgvb is a Python wrapper for Graphviz, this 
would
take some major rewriting to accomplish. 

Recommend you keep your graph in an intermediary format of your choosing, and 
convert
it to yapgvb only when you need to render it.

Original comment by lonnie.p...@gmail.com on 13 Apr 2009 at 2:41

GoogleCodeExporter commented 9 years ago
Then it is only good to render static images.

If you have a big graph with where each node has multiple edges, then you would 
like
to turn on/off the edges, to just see one set of edges.

Original comment by eldman...@gmail.com on 13 Apr 2009 at 3:41