Skip to main content

A graphviz-based plotting tool for compositional bigraph schema

Project description

Bigraph-viz

PyPI GitHub Pages

Bigraph-viz is an easy-to-use plotting tool for compositional bigraph schema, built on top of Graphviz.

Bigraph-viz example

Compositional Schemas and Milner Bigraphs

Compositional Bigraph Schemas (CIP) are based on a mathematical formalism introduced by Robin Milner in 2009 , and used in Vivarium. Bigraphs consist of networks with embeddable nodes that can be placed within other nodes and dynamically restructured. CIP reimagines the bigraph concept. Variables are contained within Stores (the circles in the figure), which can be embedded in a hierarchy, as shown by the dark edges. Instead of Milner's hyperedges, CIP employs Processes (the rectangles) which connect via wires (dashed edges) to shared variables within the Stores. Processes and Stores form a type of bipartite graph, as illustrated by the dashed edges.

In Vivarium, the CIP is used to structure a modular multiscale simulation. Bigraph-viz is part of an effort to standardize this structure, so that it can be used as an exchange format for multiscale simulations.

Getting Started

Dependencies

Before installing bigraph-viz, make sure you have Graphviz.

Ubuntu/Debian

sudo apt-get install -y graphviz

macOS

brew install graphviz

Windows

Download and install the Graphviz installer from the official website. Make sure to add the Graphviz bin directory to your system's PATH.

Installation

Once Graphviz is installed, you can install bigraph-viz using pip:

pip install bigraph-viz

Tutorial

To get started with Bigraph-viz, explore the Bigraph Schema Basics Tutorial.

Or the Formatting Tutorial.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bigraph-viz-0.0.19.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file bigraph-viz-0.0.19.tar.gz.

File metadata

  • Download URL: bigraph-viz-0.0.19.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.13

File hashes

Hashes for bigraph-viz-0.0.19.tar.gz
Algorithm Hash digest
SHA256 4c337225b276d8ac662dbabc0de79a941be3693cd191375a6a24123ad87c0da9
MD5 71e374481f7e9e953d3f4ac6966d03a9
BLAKE2b-256 62d8b06082f092140c14e1d2a37111c4d7cb90bfec50f9cd892bab6099b64256

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page