Skip to content

Commit

Permalink
Merge pull request #3 from vivarium-collective/input-output
Browse files Browse the repository at this point in the history
Integrate with bigraph-schema
  • Loading branch information
eagmon authored Feb 28, 2024
2 parents d6f8103 + d53ec89 commit 70a5ba3
Show file tree
Hide file tree
Showing 8 changed files with 1,819 additions and 5,757 deletions.
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

0 comments on commit 70a5ba3

Please sign in to comment.