JSBML

Package org.sbml.jsbml.ext.render.director

This package contains interfaces and classes to create an implementation to create a graphical representation of the Layout of a SBML document.

There are specific interfaces for all entity pool nodes and for all arcs.

The package also contains the interfaces LayoutFactory and LayoutBuilder, giving the methods necessary to create a graphical representation of a SBML model.

SBGN objects

The different SBGN objects are represented in the following class hierarchy:

LayoutDirector is used to start and direct the drawing. It uses two components:

The method LayoutDirector.buildLayout(org.sbml.jsbml.ext.layout.Layout) builds the product. This procedure consists of four steps:

  1. All glyphs are added to the input of the LayoutAlgorithm.
  2. The LayoutAlgorithm completes all missing information.
  3. All glyphs are built with the LayoutBuilder.
  4. The dimensions of the whole layout are computed.

The SimpleLayoutAlgorithm Implementation

The package contains a partial implementation of the LayoutAlgorithm. It provides the some features and follows specific conventions not found in any specification:

Design Notes

Examples

Some commented example-implementations can be found in the org.sbml.jsbml.examples package
Since:
1.4
Skip navigation links
Generated at January 5 2022
Version 1.6.1-SNAPSHOT Revision ed2d2b5c6574a3d1769c1e26e09e14e700d571fa