This project has moved and is read-only. For the latest updates, please go here.

MiniUml Class Diagrams

This page describes the MiniUml software design implemented as of this version in the UML branch:

Figure 1 a UML class diagram to overview document components in the MiniUml implementation

The MiniUml.View and MiniUml.Model assemblies supply the basic building blocks for creating views and their viewmodels that can be used within the MiniUml framework. The diagram in Figure 1 shows to that end how the 3 views and viewmodels:
  • XmlView, DocumentView, and CanvasView

are directly related to their viewmodels:
  • XmlViewModel, DocumentViewModel, and CanvasViewModel

The DocumentDataModel contains the core data of the framework. This framework also includes a ShapeViewModelBase which is extended by a plugin load-able assembly called MiniUml.Plugins.UmlClassDiagram.

The PluginManager and PluginModel classes are the key to finding resources and classes implemented by the MiniUml.Plugins.UmlClassDiagram assembly for usage within the MiniUml framework.

Figure 2 a UML class diagram to overview the MiniUml presentation layer

The base of all (view items) controls that are displayed on the MiniUml canvas is shown in Figure 2. We see here that all controls implement the ISnapTarget interface which is used to snap lines to shapes when moving shapes or drawing new lines on the canvas.

Figure 3 an overview on the software design implemented for the resize adorner on resize-able canvas controls

This diagram in Figure 3 gives an overview on the items that are involved to display the resize adorner around each view item that is displayed on the canvas.

Figure 4 an overview on the viewmodels that control the shapes that are presented on the canvas

Figure 5 an overview on the software design of the connector items presented on the canvas

Note All diagrams on this page were created with the WPF based UML editor now present in Edi.

Last edited Sep 24, 2013 at 10:44 PM by dirkster, version 8


No comments yet.