Reversable transactions cancel one another out in the incidence matrix. This compares both reactions (forward and backward) associated with the reversable transaction, and removes the one that has the longerst path to the output vertex. If both paths are equal in length, the forward transaction is selected.
makeOneWay(g, v, output)
A graph object representing a petri-net style reaction network, with vertex attributes: "name", "type" ('reaction' or 'product'), and "reaction_number" (a character, not a numeric).
a vertex name.
g modified such that either v1, v2 is removed, or neither is removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.