Skip to content

layout

Utilities for the creation and work with layout models.

SpeciesGlyph

SpeciesGlyph(
    sid,
    species,
    x,
    y,
    z=0,
    w=50,
    h=20,
    d=0,
    text=None,
    name=None,
    sboTerm=None,
    metaId=None,
)

Bases: Sbase

SpeciesGlyph.

Construct SpeciesGlyph.

CompartmentGlyph

CompartmentGlyph(
    sid,
    compartment,
    x,
    y,
    z=0,
    w=200,
    h=200,
    d=0,
    text=None,
    name=None,
    sboTerm=None,
    metaId=None,
)

Bases: Sbase

CompartmentGlyph.

Construct CompartmentGlyph.

ReactionGlyph

ReactionGlyph(
    sid,
    reaction,
    x,
    y,
    z=0,
    species_glyphs=None,
    w=20,
    h=20,
    d=0,
    text=None,
    name=None,
    sboTerm=None,
    metaId=None,
)

Bases: Sbase

ReactionGlyph.

Construct ReactionGlyph.

Layout

Layout(
    sid,
    width,
    height,
    compartment_glyphs=None,
    species_glyphs=None,
    reaction_glyphs=None,
    depth=0,
    name=None,
    sboTerm=None,
    metaId=None,
)

Bases: Sbase

Layout.

Create a layout.

create_sbml

create_sbml(model)

Create SBML in model.