Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 741 Bytes

diagram.rst

File metadata and controls

28 lines (19 loc) · 741 Bytes

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.

image

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

image

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

image

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

image