{"library":"graphviz","type":"library","category":null,"description":"The `graphviz` library provides a simple pure-Python interface for generating and rendering graph descriptions in the DOT language, which is used by the Graphviz graph-drawing software. It allows users to programmatically create directed and undirected graphs, add nodes and edges, apply attributes for styling, and then render them into various output formats (e.g., PDF, PNG, SVG). The current version is 0.21, and the project maintains an active release cadence with regular updates and Python version support.","language":"python","status":"active","version":"0.21","tags":["graph","visualization","dot","graphviz","diagram","data science"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install graphviz","imports":["from graphviz import Graph","from graphviz import Digraph","import graphviz"]},{"cmd":"sudo apt install graphviz","imports":[]},{"cmd":"sudo dnf install graphviz","imports":[]},{"cmd":"brew install graphviz","imports":[]},{"cmd":"choco install graphviz","imports":[]}],"homepage":null,"github":"https://github.com/xflr6/graphviz","docs":"https://graphviz.readthedocs.io","changelog":"https://graphviz.readthedocs.io/en/latest/changelog.html","pypi":"https://pypi.org/project/graphviz/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.1,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/graphviz/compatibility"}}