DiagramObject
Package: IEC61970.Base.DiagramLayout
Description
Section titled “Description”An object that defines one or more points in a given space. This object can be associated with anything that specializes IdentifiedObject. For single line diagrams such objects typically include such items as analog values, breakers, disconnectors, power transformers, and transmission lines.
Inheritance
Section titled “Inheritance”- Hierarchy:
IdentifiedObject→DiagramObject - Direct Subclasses (1):
TextDiagramObject
Class Diagram
Section titled “Class Diagram”classDiagram DiagramObject --|> IdentifiedObject TextDiagramObject --|> DiagramObject DiagramObject --> Diagram : Diagram DiagramObject --> DiagramObjectPoint : DiagramObjectPoints DiagramObject --> DiagramObjectStyle : DiagramObjectStyle DiagramObject --> VisibilityLayer : VisibilityLayers
Direct Properties (9)
Section titled “Direct Properties (9)”| Name | Canonical Property IRI | Range | Description |
|---|---|---|---|
Diagram |
cim:DiagramObject.Diagram |
cim:Diagram (Object) |
A diagram object is part of a diagram. |
DiagramObjectPoints |
cim:DiagramObject.DiagramObjectPoints |
cim:DiagramObjectPoint (Object) |
A diagram object can have 0 or more points to reflect its layout position, routing (for polylines) or boundary (for polygons). |
DiagramObjectStyle |
cim:DiagramObject.DiagramObjectStyle |
cim:DiagramObjectStyle (Object) |
A diagram object has a style associated that provides a reference for the style used in the originating system. |
VisibilityLayers |
cim:DiagramObject.VisibilityLayers |
cim:VisibilityLayer (Object) |
A diagram object can be part of multiple visibility layers. |
drawingOrder |
cim:DiagramObject.drawingOrder |
xsd:integer (Datatype) |
The drawing order of this element. The higher the number, the later the element is drawn in sequence. This is used to ensure that elements that overlap are rendered in the correct order. |
isPolygon |
cim:DiagramObject.isPolygon |
xsd:boolean (Datatype) |
Defines whether or not the diagram objects points define the boundaries of a polygon or the routing of a polyline. If this value is true then a receiving application should consider the first and last points to be connected. |
offsetX |
cim:DiagramObject.offsetX |
xsd:float (Datatype) |
The offset in the X direction. This is used for defining the offset from centre for rendering an icon (the default is that a single point specifies the centre of the icon). The offset is in per-unit with 0 indicating there is no offset from the horizontal centre of the icon. -0.5 indicates it is offset by 50% to the left and 0.5 indicates an offset of 50% to the right. |
offsetY |
cim:DiagramObject.offsetY |
xsd:float (Datatype) |
The offset in the Y direction. This is used for defining the offset from centre for rendering an icon (the default is that a single point specifies the centre of the icon). The offset is in per-unit with 0 indicating there is no offset from the vertical centre of the icon. The offset direction is dependent on the orientation of the diagram, with -0.5 and 0.5 indicating an offset of +/- 50% on the vertical axis. |
rotation |
cim:DiagramObject.rotation |
cim:AngleDegrees (Datatype) |
Sets the angle of rotation of the diagram object. Zero degrees is pointing to the top of the diagram. Rotation is clockwise. DiagramObject.rotation=0 has the following meaning: The connection point of an element which has one terminal is pointing to the top side of the diagram. The connection point “From side” of an element which has more than one terminal is pointing to the top side of the diagram. DiagramObject.rotation=90 has the following meaning: The connection point of an element which has one terminal is pointing to the right hand side of the diagram. The connection point “From side” of an element which has more than one terminal is pointing to the right hand side of the diagram. |
Inherited Properties
Section titled “Inherited Properties”Inherited from IdentifiedObject (6)
Section titled “Inherited from IdentifiedObject (6)”| 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. |
Semantic Web Snippets
Section titled “Semantic Web Snippets”Open-World Inheritance & Flat Graph Note: Under IEC CIM (RDF/OWL), an instance of
cim:DiagramObjectcan carry properties declared onDiagramObjectplus 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:PSRTypeorcim:Terminal). In JSON-LD 1.1, those referenced objects are lifted out of the main object into a flat@grapharray and linked strictly by@idpointer 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.