GvGen 0.9

GvGen project is a python class to generate dot files for further use with graphviz.
GvGen project is a Python class to generate dot files for further use with graphviz.

Here are some key features of "GvGen":

Edge creation, naming and connection
Apply any graphviz property on the fly
Apply graphviz properties to a style

Examples:

Simple

Use the class:

% python

Python 2.4.4 (#2, Aug 16 2007, 00:34:54)
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gvgen import *
>>> graph = GvGen()
>>> parents = graph.newItem("Parents")
>>> father = graph.newItem("Bob", parents)
>>> mother = graph.newItem("Alice", parents)
>>> children = graph.newItem("Children")
>>> child1 = graph.newItem("Carol", children)
>>> child2 = graph.newItem("Eve", children)
>>> child3 = graph.newItem("Isaac", children)
>>>
>>> graph.dot()

See the dot file generated:
digraph G {
subgraph cluster1 {
label="Parents";
edge2 [label="Bob"];
edge3 [label="Alice"];
}
subgraph cluster4 {
label="Children";
edge5 [label="Carol"];
edge6 [label="Eve"];
edge7 [label="Isaac"];
}
}

Save it under the name "crypto-folks.dot"

What's New in This Release:

Deprecated functions for GvGlue have been removed.
A version banner is added to the generated dot file.
Smart mode is working.

last updated on:
February 26th, 2008, 16:52 GMT
price:
FREE!
developed by:
INL Software
homepage:
software.inl.fr
license type:
GPL (GNU General Public License) 
category:
ROOT \ Multimedia \ Graphics

FREE!

In a hurry? Add it to your Download Basket!

user rating 18

3.2/5
 

0/5

Add your review!

SUBMIT