Filesystem Example

The filesystem example provided along with the SDK download of Graphiti illustrates how one can use patterns for building Graphiti diagrams. It registers an editor for this that allows the user to create a filesystem with files and folders. Most of the functionality is build using patterns and ID patterns.

Screenshot of Filesystem Example Editor

Filesystem Example Plugin

The example plugin org.eclipse.graphiti.examples.filesystem is available as executable but also as source in the SDK download and within our repository under the examples folder. While the example is easy enough for quickly understanding it, it allows to demonstrate some features of Graphiti that are not explained in the tutorial.

EMF Model

The examples plugin org.eclipse.graphiti.examples.filesystem.mm contains a small EMF model to define the filesystem model.

The EMF model defined for the Filesystem Example

Special Graphiti Features

The following special Graphiti features are shown in the Filesystem example: