A Software Package for Chemically Inspired Graph Transformation
Jakob L. Andersen, Christoph Flamm, Daniel Merkle, Peter F. Stadler

TL;DR
This paper introduces an open-source software package that facilitates graph transformation modeling of chemical reaction networks, supporting rule composition, visualization, and multi-graph rewriting in a user-friendly way.
Contribution
It provides a comprehensive C++ library and Python interface for chemically inspired graph transformations, including visualization tools and rule composition algorithms.
Findings
Enables automatic generation of chemical reaction networks from graph grammars.
Supports complex multi-graph rewriting with the Double Pushout formalism.
Offers extensive visualization capabilities for graphs and transformation diagrams.
Abstract
Chemical reaction networks can be automatically generated from graph grammar descriptions, where rewrite rules model reaction patterns. Because a molecule graph is connected and reactions in general involve multiple molecules, the rewriting must be performed on multisets of graphs. We present a general software package for this type of graph rewriting system, which can be used for modelling chemical systems. The package contains a C++ library with algorithms for working with transformation rules in the Double Pushout formalism, e.g., composition of rules and a domain specific language for programming graph language generation. A Python interface makes these features easily accessible. The package also has extensive procedures for automatically visualising not only graphs and rewrite rules, but also Double Pushout diagrams and graph languages in form of directed hypergraphs. The software…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
