Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 0358f9363bcd20c38f0843fba1d8cd62 > files > 61

python-pygraphviz-1.1-1mdv2010.2.i586.rpm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Overview &mdash; PyGraphviz v1.1.dev1952 documentation</title>
    <link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '1.1.dev1952',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  false
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="Search within PyGraphviz v1.1.dev1952 documentation"
          href="_static/opensearch.xml"/>
    <link rel="top" title="PyGraphviz v1.1.dev1952 documentation" href="#" /> 
  </head>
  <body>
<div style="color: black;background-color: white; font-size: 3.2em; text-align: left; padding: 15px 10px 10px 15px">
PyGraphviz
</div>

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li><a href="#">PyGraphviz Home </a> |&nbsp;</li>
        <li><a href="search.html">Search </a> |&nbsp;</li>
        <li><a href="download.html">Download </a> |&nbsp;</li>
        <li><a href="http://networkx.lanl.gov/trac/wiki/PyGraphviz">Developer Site</a>  |&nbsp;</li>
        <li><a href="contents.html">Documentation </a> &raquo;</li>
 
      </ul>
    </div>

<p>This documentation is for version <b>1.1.dev1952</b>, which is
  not released yet.</p>


      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper"><h3>Download</h3>

<p>This documentation is for version <b>1.1.dev1952</b>, which is
  not released yet.</p>
<p>You can check it out from
  <a href="http://networkx.lanl.gov/svn/pygraphviz/trunk">Subversion</a> or look for
  released versions in the <a href="http://pypi.python.org/pypi/pygraphviz">Python
    Package Index</a>.</p>


<h3>Questions? Suggestions?</h3>

<p>Join the <a href="http://groups.google.com/group/pygraphviz-discuss">Google group</a>:</p>
<form action="http://groups.google.com/group/pygraphviz-discuss/boxsubscribe"
      style="padding-left: 1em">
  <input type="text" name="email" value="your@email"/>
  <input type="submit" name="sub" value="Subscribe" />
</form>
<p>You can also open an issue at the
  on the <a href="http://networkx.lanl.gov/trac/wiki/PyGraphviz">developer's site</a>.</p>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            


<blockquote>
<p>PyGraphviz is a Python interface to the Graphviz graph layout and
   visualization package.

   With PyGraphviz you can create, edit, read, write, and draw graphs using
   Python to access the Graphviz graph data structure and layout algorithms.

   PyGraphviz is independent from
   <a href="http://networkx.lanl.gov">NetworkX </a> but provides
   a similar programming interface.

</p>
</blockquote>

<h2>Quick Example</h2>


<table align="center" style="margin-left: 0px"><tr>
    <td width="50%">
<blockquote>
<pre>
&gt;&gt;&gt; import pygraphviz as pgv
&gt;&gt;&gt; G=pgv.AGraph()
&gt;&gt;&gt; G.add_node('a')
&gt;&gt;&gt; G.add_edge('b','c')
&gt;&gt;&gt; G
strict graph {
        a;
        b -- c;
}

To load a dot file use

&gt;&gt;&gt; G=pgv.AGraph("file.dot")
</pre>
    </td>
    <td width="50%">
</td></tr>
</blockquote>
</table>


<h2>Documentation</h2>

<table class="contentstable" align="center" style="margin-left: 30px"><tr>
  <td width="50%">

    <p class="biglink"><a class="biglink" href="tutorial.html">Tutorial</a><br/>
       <span class="linkdescr">start here</span></p>
    <p class="biglink"><a class="biglink" href="reference/index.html">Reference</a><br/>
       <span class="linkdescr">guide to all functions and classes</span></p>
    <p class="biglink"><a class="biglink" href="examples.html">Examples</a><br/>
       <span class="linkdescr">using the library</span></p>
  </td>
  <td width="50%">
    <p class="biglink"><a class="biglink" href="contents.html">Contents</a><br/>
       <span class="linkdescr">a complete overview</span></p>
    <p class="biglink"><a class="biglink" href="search.html">Search Page</a><br/>
       <span class="linkdescr">search the documentation</span></p>
    <p class="biglink"><a class="biglink" href="genindex.html">General Index</a><br/>
       <span class="linkdescr">all functions, classes, terms</span></p>
    <p class="biglink"><a class="biglink" href="modindex.html">Module Index</a><br/>
       <span class="linkdescr">quick access to all documented modules</span></p>
  </td></tr>
</table>


  <h2>Get PyGraphviz</h2>
<blockquote>
  <p>
    Download PyGraphviz from the 
    <a href="http://pypi.python.org/pypi/pygraphviz">Python Package
    Index</a>.
  </p>
  <p>The code source code is available from the NetworkX SVN server at
    <tt><a href="http://networkx.lanl.gov/svn/pygraphviz/trunk">http://networkx.lanl.gov/svn/pygraphviz/trunk</a></tt>.</p>
</blockquote>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li><a href="#">PyGraphviz Home </a> |&nbsp;</li>
        <li><a href="search.html">Search </a> |&nbsp;</li>
        <li><a href="download.html">Download </a> |&nbsp;</li>
        <li><a href="http://networkx.lanl.gov/trac/wiki/PyGraphviz">Developer Site</a>  |&nbsp;</li>
        <li><a href="contents.html">Documentation </a> &raquo;</li>
 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2010, Aric Hagberg.
      Last updated on Jun 01, 2011.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
    </div>
  </body>
</html>