PyGraphviz

Graphviz 图形绘制软件包的 Python 接口。「Python interface to Graphviz graph drawing package」

Github星跟蹤圖

PyGraphviz

.. image:: https://github.com/pygraphviz/pygraphviz/workflows/test/badge.svg?branch=main
:target: https://github.com/pygraphviz/pygraphviz/actions?query=workflow%3Atest+branch%3Amain

.. image:: https://codecov.io/gh/pygraphviz/pygraphviz/branch/main/graph/badge.svg
:target: https://app.codecov.io/gh/pygraphviz/pygraphviz/branch/main

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 provides a similar programming interface to NetworkX
(https://networkx.org).

Simple example

.. code:: pycon

>>> import pygraphviz as 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 (see LICENSE)::

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

主要指標

概覽
名稱與所有者pygraphviz/pygraphviz
主編程語言C
編程語言Makefile (語言數: 4)
平台
許可證Other
所有者活动
創建於2013-08-02 15:10:50
推送於2025-04-01 06:24:26
最后一次提交
發布數27
最新版本名稱pygraphviz-1.14 (發布於 2024-09-29 11:29:59)
第一版名稱pygraphviz-1.2 (發布於 2013-08-03 09:55:56)
用户参与
星數808
關注者數37
派生數215
提交數737
已啟用問題?
問題數290
打開的問題數64
拉請求數222
打開的拉請求數10
關閉的拉請求數43
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?