Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Multimedia > Graphics

    GvGen 0.9

    Download button

    No screenshots available
    Downloads: 617  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.1/5)
    18 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    INL Software | More programs
    GPL / FREE
    February 26th, 2008, 16:52 GMT
    ROOT / Multimedia / Graphics

     Read user reviews (0)  Refer to a friend  Subscribe

    GvGen description

    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.



    Product's homepage

      


    TAGS:

    Python class | dot generator | graphviz class | Python | class | dot

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM