0
|
1 import types;
|
|
2 import tango.util.collection.ArraySeq;
|
|
3
|
|
4 interface IProperty {
|
|
5 }
|
|
6
|
|
7 interface ISemanticModelBridge {
|
|
8 char[] presentation();
|
|
9 }
|
|
10
|
|
11 interface ISimpleSemanticModelElement : ISemanticModelBridge {
|
|
12 char[] type_info();
|
|
13 }
|
|
14
|
|
15 interface IDiagramElement {
|
|
16 bool is_visible();
|
|
17 IProperty[] get_properties();
|
|
18
|
|
19 void accept(in IVisitor visitor);
|
|
20 }
|
|
21
|
|
22 interface IVisitor {
|
|
23 void visit(in IGraphNode node);
|
|
24 void visit(in IGraphEdge edge);
|
|
25 }
|
|
26
|
|
27 interface IGraphElement : IDiagramElement {
|
|
28 }
|
|
29
|
|
30 interface IGraphNode : IGraphElement {
|
|
31 }
|
|
32
|
|
33 interface IGraphEdge : IGraphElement {
|
|
34 }
|
|
35
|
|
36 interface IGraphConnector {
|
|
37 Point point();
|
|
38 IGraphElement element();
|
|
39 IGraphEdge[] edges();
|
|
40 }
|