]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling.ontology/graph/ModelingOperations.pgraph
0cabe09ca2112ebafe156f3cc12b8492c233ea1c
[simantics/platform.git] / bundles / org.simantics.modeling.ontology / graph / ModelingOperations.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 L0X = <http://www.simantics.org/Layer0X-1.1>\r
3 PROJ = <http://www.simantics.org/Project-1.2>\r
4 STR = <http://www.simantics.org/Structural-1.2>\r
5 MOD = <http://www.simantics.org/Modeling-1.2>\r
6 DIA = <http://www.simantics.org/Diagram-2.2>\r
7 \r
8 OP = L0X.Operation\r
9 PRED = L0X.Predicate\r
10 \r
11 // Predicates\r
12 PREDS = MOD.Predicates : L0.Library\r
13 PREDS.HasCounterpart : PRED.Predicate\r
14 \r
15 // Operations\r
16 OPS = MOD.Operations : L0.Library\r
17 \r
18 MOD.HasModelingOperations <R L0.IsWeaklyRelatedTo\r
19 MOD.HasDiagramOperations <R L0.IsWeaklyRelatedTo\r
20 \r
21 MOD.ModelingOperations : OP.TypeBasedList
22     L0X.HasRelation MOD.HasModelingOperations
23
24 MOD.DiagramOperations : OP.TypeBasedList
25     L0X.HasRelation MOD.HasDiagramOperations\r
26
27 STR.Component
28     MOD.HasModelingOperations LL : OP.ContextualList <R L0.IsRelatedTo\r
29         LL LL\r
30         \r
31 PROJ.Project
32     MOD.HasModelingOperations MO : OP.ContextualList <R L0.IsRelatedTo\r
33         MO MO
34         //@L0.orderedSet        
35             //OPS.NewComponentType : L0.Operation
36             //OPS.NewModel : OP.Operation\r
37 \r
38 DIA.Flag
39     MOD.HasDiagramOperations _ : OP.ContextualList <R L0.IsRelatedTo
40         @L0.orderedSet
41             _ : OP.ConditionalList
42                 OP.HasCondition PREDS.HasCounterpart
43                 OP.HasThenElement OPS.NavigateToTarget : OP.Operation
44             //_ : OP.ConditionalList
45             //    OP.HasCondition PREDS.HasCounterpart
46             //    OP.HasThenElement OPS.DisconnectFlag : OP.Operation\r
47 \r
48 DIA.Monitor\r
49     MOD.HasDiagramOperations _ : OP.ContextualList <R L0.IsRelatedTo\r
50         @L0.orderedSet\r
51             _ : OP.ConditionalList\r
52                 OP.HasCondition PREDS.HasCounterpart\r
53                 OP.HasThenElement OPS.NavigateToTarget : OP.Operation\r