Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description is coming soonSee also KGraph and KLayoutData.

 

The KRendering data structure is used to specify the visual representation of a KGraph structure. Therefor an individual KRendering gets attached to each KGraph element defining its appearance. A full KRendering visualization utilizes three meta models:

  •  The KGraph model defines the structure.
  •  The KLayoutData model defines the graph layout.
  •  The KRendering model defines the rendering of KGraph elements

The KRendering class is the base class of all renderings. More complex renderings can be build-up of multiple simple drawings using the KContainerRendering class which is the base class of all renderings with children. The following figure shows basic container renderings.

 

 

Children of KContainerRenderings are placed inside, depending on the KPlacement of the container. Currently KRendering offers KStackPlacement for placing renderings in one column and KGridPlacement for placing renderings on a grid.