igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] reading .dot files in igraph? (graphviz)


From: Horváth Árpád
Subject: Re: [igraph] reading .dot files in igraph? (graphviz)
Date: Tue, 10 Jan 2012 14:55:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Dear Andrew,

if you use Python, you can use pygraphviz to load .dot files.
http://networkx.lanl.gov/pygraphviz/

import pygraphviz
g = pygraphviz.AGraph("valami.dot")
nodes = g.nodes()
edges = g.edges()

 Arpad

 Andrew Stewart írta (Dátum: 2012. Jan. 09.)
> I can't seem to find anything about reading in graphviz style .dot
> files with igraph.  Anyone know a way to do this?  Maybe through some
> intermediate format?

-- 
Horvath  Arpad  <address@hidden>
Webpage: http://www.arek.uni-obuda.hu/harp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]