]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.diagram.ontology/graph/DiagramProfiles.pgraph
6413e8019f6cb6cd656066839f291e3e962eb30a
[simantics/platform.git] / bundles / org.simantics.diagram.ontology / graph / DiagramProfiles.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>
2 L0X = <http://www.simantics.org/Layer0X-1.1>
3 DIA = <http://www.simantics.org/Diagram-2.2>
4
5 //// PROFILES
6
7 DIA.Profile <T L0.List
8   >-- DIA.Profile.priority --> L0.Double <R L0.HasProperty : L0.FunctionalRelation
9   >-- DIA.Profile.children ==> "[Resource]" <R L0.HasProperty : L0.FunctionalRelation
10   @L0.assert DIA.Profile.priority 0.0
11   @L0.assert DIA.Profile.children DIA.Profile.Functions.profileChildren
12
13 DIA.Profile.Functions : L0.Library
14
15 DIA.Profile.Functions.singleResourceSelection : L0.Function
16     L0.HasValueType "a"
17 DIA.Profile.Functions.profileChildren : L0.Function
18     L0.HasValueType "[Resource]"
19 DIA.Profile.Functions.availableProfiles : L0.Function
20     L0.HasValueType "[(String, Resource)]"
21 DIA.Profile.Functions.selectedProfile : L0.Function
22     L0.HasValueType "String"
23 DIA.Profile.Functions.activeProfileModifier : L0.Function
24     L0.HasValueType "String -> String"
25 DIA.Profile.Functions.profileEntrySelected : L0.Function
26     L0.HasValueType "a -> Boolean"
27
28 DIA.ProfileEntry <T L0.Entity
29     @L0.property DIA.ProfileEntry.HasStyle
30     @L0.property DIA.ProfileEntry.HasGroup
31     @L0.assert DIA.ProfileEntry.HasPriority 0.0
32
33 DIA.ProfileEntry.HasGroup <R L0.DependsOn : L0.FunctionalRelation
34 DIA.ProfileEntry.HasStyle <R L0.DependsOn : L0.FunctionalRelation
35 DIA.ProfileEntry.HasPriority <R L0.HasProperty : L0.FunctionalRelation
36
37 DIA.GroupStyleProfileEntry <T DIA.ProfileEntry
38
39 DIA.Group <T L0.Entity
40
41 DIA.TypeGroup <T DIA.Group
42     >-- DIA.TypeGroup.HasType --> L0.Type <R L0.DependsOn 
43
44 DIA.MappedTypeGroup <T DIA.TypeGroup
45     @L0.property DIA.TypeGroup.HasType
46
47 DIA.SCLGroup <T DIA.Group
48
49 DIA.SingleSelectionGroup <T DIA.Group
50
51 DIA.Style <T L0.Entity
52
53 DIA.ConstantStyle <T DIA.Style
54
55 DIA.ExpressionStyle <T DIA.Style
56
57 DIA.SCLTextStyle <T DIA.Style
58 DIA.BasicExpressionTextStyle <T DIA.Style
59
60 // Deprecated
61 DIA.HasProfile : L0.Entity
62 DIA.HasProfile.Inverse : L0.Entity
63
64 DIA.HasEntries <R L0.DependsOn
65
66 DIA.HasActivationContext <R L0.DependsOn
67
68 DIA.HasValues <R L0.HasProperty : L0.FunctionalRelation
69     L0.InverseOf DIA.ValuesOf
70
71 DIA.HasVariableName <R L0.HasProperty : L0.FunctionalRelation
72
73 DIA.HasActiveProfile <R L0.DependsOn : L0.FunctionalRelation
74 DIA.RuntimeDiagram
75     @L0.optionalProperty DIA.HasActiveProfile
76     
77 DIA.Profile.defaultEnabled
78   @L0.defTag
79   
80 DIA.ConfigurableProfile <T L0.Entity
81
82 DIA.HasTemplate <R L0.ConsistsOf
83    L0.HasDomain DIA.ProfileEntry
84    L0.HasRange DIA.ProfileEntry
85
86 DIA.Groups : L0.Library
87
88 DIA.Groups.DefinedElementGroup : DIA.TypeGroup
89   DIA.TypeGroup.HasType DIA.DefinedElement
90