My favorites | Sign in
Project Logo
                
Code license: MIT License
Labels: dot, graphviz, visualization, graphs, twopi, neato
Links:
Blogs:
Feeds:
Groups:
People details
Project owners:
  ero.carrera
Project committers:
christian.theune

This is the homepage of pydot, a Python interface to Graphviz's Dot language.

pydot allows to easily create both directed and non directed graphs from Python. Currently all attributes implemented in the Dot language are supported (up to Graphviz 2.16).

Output can be inlined in Postscript into interactive scientific environments like TeXmacs, or output in any of the format's supported by the Graphviz tools dot, neato, twopi.

Requirements

Changelog

The release 1.0.2 of pydot boasts the following:

Performance:

The new pydot stores graphs and their objects using a hierarchy of nested dictionaries and lists. Graph, Node, Edge objects are mere proxies to the data and are created on demand. So that now it's possible to have a graph with a 1 million edges and there will not be a single Edge instance (only if requested, then they will be created on demand, mapping the data and providing with all the methods to act on the data in the global dictionary).

Storing a graph with 1 million edges in pydot 1.0 has approximately the same memory requirements (~813MiB) as dealing with one with only 40.000 edges in pydot 0.9 (~851MiB), the 40.000 edges graph needs ~35MiB in pydot 1.0 . Handling graphs should be much faster, as no linear searches are performed in pydot 1.0

Related Projects









Hosted by Google Code