Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with bigraph-schema #3

Merged
merged 11 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions bigraph_viz/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
from bigraph_viz.plot import plot_bigraph, plot_flow, plot_multitimestep
from bigraph_viz.dict_utils import pp, pf, schema_state_to_dict
from bigraph_viz.convert import convert_vivarium_composite
import pprint
from bigraph_viz.diagram import plot_bigraph
from bigraph_viz.dict_utils import replace_regex_recursive
from bigraph_schema import TypeSystem


pretty = pprint.PrettyPrinter(indent=2)


def pf(x):
return pretty.pformat(x)
2 changes: 1 addition & 1 deletion bigraph_viz/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import copy

from bigraph_viz import plot_bigraph, pp
from bigraph_viz import plot_bigraph
from bigraph_viz.dict_utils import deep_merge, absolute_path, nest_path


Expand Down
Loading
Loading