See 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 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.