]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.layer0/graph/Layer0Constraints.pgraph
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.layer0 / graph / Layer0Constraints.pgraph
1 L0 = <http://www.simantics.org/Layer0-1.1>\r
2 \r
3 L0.Constraint <T L0.Entity\r
4     >-- L0.Constraint.Validator <R L0.HasProperty : L0.FunctionalRelation\r
5         L0.RequiresValueType "ReadGraph => Resource -> [Issue]"\r
6 L0.HasConstraint <R L0.IsRelatedTo\r
7     L0.InverseOf L0.HasConstraint.Inverse <R L0.IsRelatedTo     \r
8     <-- L0.Type\r
9     --> L0.Constraint\r
10 \r
11 // ----------------------------\r
12 \r
13 L0.ConcernsRelation <R L0.IsRelatedTo\r
14     L0.HasRange L0.Relation\r
15     L0.InverseOf L0.ConcernsRelation.Inverse <R L0.IsRelatedTo     \r
16 L0.HasCardinalityRange <R L0.HasProperty : L0.FunctionalRelation\r
17     L0.HasRange L0.CardinalityRange