Skip to content

User Documentation

Nathan Gilbert edited this page Dec 29, 2021 · 4 revisions

Graphworks User Documentation

Installation

pip install graphworks

Instantiate a Graph instance

from graphworks.graph import Graph

json_graph = {"label": "my graph", "edges": {"A": ["B"], "B": []}}
graph = Graph("my graph", input_graph=json.dumps(json_graph))
Clone this wiki locally