Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python interface to Graphviz graph drawing package

License

NotificationsYou must be signed in to change notification settings

pygraphviz/pygraphviz

Repository files navigation

https://github.com/pygraphviz/pygraphviz/workflows/test/badge.svg?branch=main

PyGraphviz is a Python interface to the Graphviz graph layout andvisualization package.With PyGraphviz you can create, edit, read, write, and draw graphs usingPython to access the Graphviz graph data structure and layout algorithms.PyGraphviz provides a similar programming interface to NetworkX(https://networkx.org).

Simple example

>>>import pygraphvizas pgv>>> G= pgv.AGraph()>>> G.add_node("a")>>> G.add_edge("b","c")>>>print(G)strict graph "" {        a;        b -- c;}

Install

PyGraphviz requires Graphviz.Please see INSTALL.txt for details.

License

Released under the 3-Clause BSD license (seeLICENSE):

Copyright (C) 2006-2024 PyGraphviz DevelopersAric Hagberg <aric.hagberg@gmail.gov>Dan Schult <dschult@colgate.edu>Manos Renieris

[8]ページ先頭

©2009-2025 Movatter.jp