Skip to content

Diagram

Normative OWL Class IEC61970

Package: IEC61970.Base.DiagramLayout

Canonical IRI: http://iec.ch/TC57/CIM100#Diagram

The diagram being exchanged. The coordinate system is a standard Cartesian coordinate system and the orientation attribute defines the orientation. The initial view related attributes can be used to specify an initial view with the x,y coordinates of the diagonal points.

classDiagram
  Diagram --|> IdentifiedObject
  Diagram --> OrientationKind : orientation
Name Canonical Property IRI Range Description
orientation cim:Diagram.orientation cim:OrientationKind (Object) Coordinate system orientation of the diagram. A positive orientation gives standard �right-hand� orientation, with negative orientation indicating a �left- hand� orientation. For 2D diagrams, a positive orientation will result in X values increasing from left to right and Y values increasing from bottom to top. A negative orientation gives the �left-hand� orientation (favoured by computer graphics displays) with X values increasing from left to right and Y values increasing from top to bottom.
x1InitialView cim:Diagram.x1InitialView xsd:float (Datatype) X coordinate of the first corner of the initial view.
x2InitialView cim:Diagram.x2InitialView xsd:float (Datatype) X coordinate of the second corner of the initial view.
y1InitialView cim:Diagram.y1InitialView xsd:float (Datatype) Y coordinate of the first corner of the initial view.
y2InitialView cim:Diagram.y2InitialView xsd:float (Datatype) Y coordinate of the second corner of the initial view.
Name Canonical Property IRI Range Description
DiagramObjects cim:IdentifiedObject.DiagramObjects cim:DiagramObject The diagram objects that are associated with the domain object.
InstanceSet cim:IdentifiedObject.InstanceSet cim:InstanceSet Dataset containing the data objects.
aliasName cim:IdentifiedObject.aliasName xsd:string The aliasName is free text human readable name of the object alternative to IdentifiedObject.name. It may be non unique and may not correla…
description cim:IdentifiedObject.description xsd:string The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hiera…
mRID cim:IdentifiedObject.mRID xsd:string Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved…
name cim:IdentifiedObject.name xsd:string The name is any free human readable and possibly non unique text naming the object.

Open-World Inheritance & Flat Graph Note: Under IEC CIM (RDF/OWL), an instance of cim:Diagram can carry properties declared on Diagram plus any ancestor in its inheritance chain (IdentifiedObject). By default, the builder below expands the full inherited model so you can inspect everything available on this class. Showing every property is intentional for documentation and not required on the wire; sparse payloads carrying only profile-required fields are equally valid.

Object References vs. Flat Literals: Not all CIM properties are flat scalar values. Object associations reference separate typed CIM entities (such as cim:PSRType or cim:Terminal). In JSON-LD 1.1, those referenced objects are lifted out of the main object into a flat @graph array and linked strictly by @id pointer so the graph stays flat instead of deeply nested. Turtle and RDF/XML serialize the exact same graph, making it easy to compare legacy RDF/XML verbosity against Turtle and JSON-LD.