Class diagram

This class diagram describes the basic layout of Gaphas.

The central class is GtkView. It takes a model. A default implementation is provided by gaphas.Canvas. A view is rendered by Painters. Interaction is handled by Tools.

_images/0eaaddbe-38c6-11eb-9c70-2d0185f75c28.svg

Painting is done by painters. Each painter will paint a layer of the canvas.

_images/2c4d13e6-38c6-11eb-9c70-2d0185f75c28.svg

Besides the view, there is constraint based connection management. Constraints can be used within an item, and to connect different items.

_images/546102d4-38c6-11eb-9c70-2d0185f75c28.svg

A default model and item implementations, a line and an element.

_images/4e3870d6-38c6-11eb-9c70-2d0185f75c28.svg