Skip to content

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.

URI: cim:Diagram
Type: Class

Diagram class diagram

Inheritance

Attributes

Name URI Cardinality and Range Inheritance Description
x1InitialView cim:Diagram.x1InitialView 0..1 float direct X coordinate of the first corner of the initial view.
x2InitialView cim:Diagram.x2InitialView 0..1 float direct X coordinate of the second corner of the initial view.
y1InitialView cim:Diagram.y1InitialView 0..1 float direct Y coordinate of the first corner of the initial view.
y2InitialView cim:Diagram.y2InitialView 0..1 float direct Y coordinate of the second corner of the initial view.
DiagramStyle cim:Diagram.DiagramStyle 0..1 DiagramStyle direct A Diagram may have a DiagramStyle.
mRID cim:IdentifiedObject.mRID 1..1 string IdentifiedObject Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended.For CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements.
description cim:IdentifiedObject.description 0..1 string IdentifiedObject 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 hierarchy.
name cim:IdentifiedObject.name 1..1 string IdentifiedObject The name is any free human readable and possibly non unique text naming the object.

Format Examples

{
    "@context": {"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", "linkml": "https://w3id.org/linkml/", "sh": "http://www.w3.org/ns/shacl#", "skos": "http://www.w3.org/2004/02/skos/core#", "dc": "http://purl.org/dc/elements/1.1/", "profcim": "http://iec.ch/TC57/ns/CIM/prof-cim#", "owl": "http://www.w3.org/2002/07/owl#", "cim": "http://iec.ch/TC57/CIM100#", "cims": "http://iec.ch/TC57/1999/rdf-schema-extensions-19990926#", "dct": "http://purl.org/dc/terms/", "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "this": "http://ucaiug.org/ns/CGMES/DiagramLayout-EU/3.0#", "dcat": "http://www.w3.org/ns/dcat#", "eu": "http://iec.ch/TC57/CIM100-European#"},
    "@id": "urn:uuid:<uuid>",
    "@type": "cim:Diagram",
    "cim:Diagram.x1InitialView": "float",
    "cim:Diagram.x2InitialView": "float",
    "cim:Diagram.y1InitialView": "float",
    "cim:Diagram.y2InitialView": "float",
    "cim:Diagram.DiagramStyle": { "@id": "urn:uuid:<uuid of DiagramStyle>" },
    "cim:IdentifiedObject.mRID": "string",
    "cim:IdentifiedObject.description": "string",
    "cim:IdentifiedObject.name": "string"
}
<cim:Diagram rdf:ID="_<uuid>">
    <cim:Diagram.x1InitialView>float</cim:Diagram.x1InitialView>
    <cim:Diagram.x2InitialView>float</cim:Diagram.x2InitialView>
    <cim:Diagram.y1InitialView>float</cim:Diagram.y1InitialView>
    <cim:Diagram.y2InitialView>float</cim:Diagram.y2InitialView>
    <cim:Diagram.DiagramStyle rdf:resource="#_<uuid of DiagramStyle>" />
    <cim:IdentifiedObject.mRID>string</cim:IdentifiedObject.mRID>
    <cim:IdentifiedObject.description>string</cim:IdentifiedObject.description>
    <cim:IdentifiedObject.name>string</cim:IdentifiedObject.name>
</cim:Diagram>
{
    "x1InitialView": "float",
    "x2InitialView": "float",
    "y1InitialView": "float",
    "y2InitialView": "float",
    "DiagramStyle": "<DiagramStyle>",
    "mRID": "string",
    "description": "string",
    "name": "string"
}
<urn:uuid:<graph-id>> {
    <urn:uuid:<uuid>>
        a cim:Diagram ;
        cim:Diagram.x1InitialView "float" ;
        cim:Diagram.x2InitialView "float" ;
        cim:Diagram.y1InitialView "float" ;
        cim:Diagram.y2InitialView "float" ;
        cim:Diagram.DiagramStyle <urn:uuid:<uuid of DiagramStyle>> ;
        cim:IdentifiedObject.mRID "string" ;
        cim:IdentifiedObject.description "string" ;
        cim:IdentifiedObject.name "string" .
}

Schema Source