It is possible to use the CCmI Diagram Editor as a framework for creating your own diagram types. The diagrams can subsequently be used inside the editor itself, benefiting from the cross modality offered by the tool. Indeed, they will still be represented in graphic, audio and haptic modalities within the editor.
A diagram in the editor is just a set of nodes and edges linking the nodes together. You can define your own nodes and edges and program how they look like in the editor graph and how they sound like in the editor tree.
All you have to do is to inherit from Node and Edge and implement their abstract methods in order to make your own custom drawing and sound. Furthermore a persistence delegate class must be implemented to define how the prototypes are persisted in XML format when the user saves a diagram in a file.
This package contains classes for a small example of how the CCmI Editor can be used for this purpose. Note that the code of the original editor needn't be modified. The editor jar (version > 0.2.4) can be included among the libraries and used out of the box. In order to make your own executable jar, you need to inherit from DiagramEditorApp and make your own main method. This is also shown in this package (see the SmileDiagramApp) class.