tellurium.visualization package


tellurium.visualization.sbmldiagram module

This module creates an SBMLDiagram for the given SBML model using graphviz.

class tellurium.visualization.sbmldiagram.SBMLDiagram(sbml, species={}, reactions={}, reactants={}, products={}, modifiers={})[source]

Bases: object

Create network diagram from a sbml model.

draw(layout='neato', **kwargs)[source]

Draw the graph. Optional layout=[‘neato’|’dot’|’twopi’|’circo’|’fdp’|’nop’] will use specified graphviz layout method.

Parameters:layout (str) – pygraphviz layout algorithm (default: ‘neato’)

Module contents

visualization imports