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:: images/view.png :align: center Painting is done by painters. Each painter will paint a layer of the canvas. .. image:: images/painter.png :align: center Besides the view, there is constraint based connection management. Constraints can be used within an item, and to connect different items. .. image:: images/connections.png :align: center A default model and item implementations, a line and an element. .. image:: images/canvas.png :align: center