Rendering Layer

The rendering layer provides informartion which defines the rendering of the diagram elements. The rendering layer of a diagram is defined by an instance of the interface ReactionNetRenderingInfo. This interfaces defines a mapping for each element of a ReactionNet to an appropiate rendering object which contains the rendering attributes for the element.

The interface CompoundRenderingInfo defines the acces to the rendering attributes of a compound.

The interface ReactionRenderingInfo defines the access to the rendering attributes of a reaction.

The type of data stored as rendering attribute depends on the rendering engine. Each rendering engine can define its own rendering attributes and store them in the rendering layer.