pygraphviz

wxPython: Network Graph - clickable with context menu - Any pkgs?

感情迁移 提交于 2019-12-09 04:37:29
Hi I would like to create a wxpython application with a window where I can create a network graph. I have heard (never used) of graphviz and NetworkX, but it seems to me that they only creates graph given some input data. I would like to do the opposite - i.e., create drag and drop nodes and links from a pallete menu. The nodes and links should be right-clickable with context menu popups. Eg., I should be able to right click a node and click "properties" in context menu - where I can fill in ip address, number of ports, their mac addresses etc. I believe graphviz will not allow me to do that.

wxPython: Network Graph - clickable with context menu - Any pkgs?

ぐ巨炮叔叔 提交于 2019-12-08 05:28:46
问题 Hi I would like to create a wxpython application with a window where I can create a network graph. I have heard (never used) of graphviz and NetworkX, but it seems to me that they only creates graph given some input data. I would like to do the opposite - i.e., create drag and drop nodes and links from a pallete menu. The nodes and links should be right-clickable with context menu popups. Eg., I should be able to right click a node and click "properties" in context menu - where I can fill in

Error while installing PyGraphviz (Mac OS X, Anaconda)

自古美人都是妖i 提交于 2019-12-06 21:44:58
问题 I'm having trouble while installing PyGraphviz. I'm using Anaconda in Mac OS X. Error messages indicates some reasons, but I already checked out it is installed in anaconda directory. Sundongui-MacBook-Pro:site-packages sundong$ pwd /Users/sundong/anaconda/lib/python2.7/site-packages Sundongui-MacBook-Pro:site-packages sundong$ pip install graphviz --upgrade Requirement already up-to-date: graphviz in /Users/sundong/anaconda/lib/python2.7/site-packages According to the error messages, How can

Installing PyGraphViz on Windows, Python 2.7

大兔子大兔子 提交于 2019-12-06 07:48:22
问题 I can't install pygraphviz on Windows XP. I'm using Python27. Before to launch the setup I've changet these two variables of the setup.py file library_path="C:\\Archivos de programa\\Graphviz 2.28\\bin" include_path="C:\\Archivos de programa\\Graphviz 2.28\\include\\graphviz" Then I've launched the setup. I'm using mingw32 as a compiler. I don't know what can I do now. I'm using the following command: C:\Python27\pygraphviz-1.1>c:\python27\python setup.py build -c mingw32 And I've got the

pygraphviz, ImportError: undefined symbol: Agundirected

↘锁芯ラ 提交于 2019-12-06 02:32:42
问题 import pygraphviz Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pygraphviz/__init__.py", line 58, in <module> from .agraph import AGraph, Node, Edge, Attribute, ItemAttribute, DotError File "/usr/local/lib/python2.7/dist-packages/pygraphviz/agraph.py", line 26, in <module> from . import graphviz as gv File "/usr/local/lib/python2.7/dist-packages/pygraphviz/graphviz.py", line 28, in <module> _graphviz = swig_import_helper()

Graphviz vs PyGraphViz

为君一笑 提交于 2019-12-05 16:44:34
问题 I have some dot files (digraphs) that I need to read in Python and extract some values from the nodes to populate my data structure. I see there are two graphviz packages for Python: graphviz and pygraphviz. Is there any big difference between the two? From a quick scroll of the docs, they pretty much seem to do the same thing. I'll be using this in Python 2.7.X for the aforementioned task. 回答1: graphviz is lightweight library which calls graphviz as subprocess to execute all actions and

PygraphViz Import Error With PyCharm

末鹿安然 提交于 2019-12-05 01:39:45
I believe I have installed pygraphviz on my Debian build. I can import it if I run Python from the command line: jon@debian:~/anaconda3/bin$ ipython Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec 7 2015, 11:17:45) Type "copyright", "credits" or "license" for more information. IPython 4.1.2 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details. In [1]: import pygraphviz In [2]: However, if I try the same from a Python

Installing Graphviz on Os X 10.5.8

我怕爱的太早我们不能终老 提交于 2019-12-04 22:34:01
问题 I'm trying to install Graphviz 2.14.1 on osX 10.5.8 I installed Graphviz from the Universal Binary here: http://www.ryandesign.com/graphviz/ $ svn co https://networkx.lanl.gov/svn/pygraphviz/trunk pygraphviz - Fingerprint: 43:8e:fa:75:00:60:67:07:fd:04:3c:e7:bf:25:86:fd:66:b3:f6:cb (R)eject, accept (t)emporarily or accept (p)ermanently? t A pygraphviz/pygraphviz A pygraphviz/pygraphviz/graphviz.i A pygraphviz/pygraphviz/graphviz.py A pygraphviz/pygraphviz/tests A pygraphviz/pygraphviz/tests

Installing PyGraphViz on Windows, Python 2.7

只谈情不闲聊 提交于 2019-12-04 14:03:26
I can't install pygraphviz on Windows XP. I'm using Python27. Before to launch the setup I've changet these two variables of the setup.py file library_path="C:\\Archivos de programa\\Graphviz 2.28\\bin" include_path="C:\\Archivos de programa\\Graphviz 2.28\\include\\graphviz" Then I've launched the setup. I'm using mingw32 as a compiler. I don't know what can I do now. I'm using the following command: C:\Python27\pygraphviz-1.1>c:\python27\python setup.py build -c mingw32 And I've got the folling result library_path=C:\Archivos de programa\Graphviz 2.28\bin include_path=C:\Archivos de programa

pygraphviz, ImportError: undefined symbol: Agundirected

旧街凉风 提交于 2019-12-04 08:27:53
import pygraphviz Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/pygraphviz/__init__.py", line 58, in <module> from .agraph import AGraph, Node, Edge, Attribute, ItemAttribute, DotError File "/usr/local/lib/python2.7/dist-packages/pygraphviz/agraph.py", line 26, in <module> from . import graphviz as gv File "/usr/local/lib/python2.7/dist-packages/pygraphviz/graphviz.py", line 28, in <module> _graphviz = swig_import_helper() File "/usr/local/lib/python2.7/dist-packages/pygraphviz/graphviz.py", line 24, in swig_import_helper