Skip to content

VisibilityLayer

Layers are typically used for grouping diagram objects according to themes and scales. Themes are used to display or hide certain information (e.g., lakes, borders), while scales are used for hiding or displaying information depending on the current zoom level (hide text when it is too small to be read, or when it exceeds the screen size). This is also called de-cluttering.CIM based graphics exchange supports an m:n relationship between diagram objects and layers. The importing system shall convert an m:n case into an appropriate 1:n representation if the importing system does not support m:n.

URI: cim:VisibilityLayer
Type: Class

VisibilityLayer class diagram

Inheritance

Attributes

Name URI Cardinality and Range Inheritance Description
drawingOrder cim:VisibilityLayer.drawingOrder 0..1 integer direct The drawing order for this layer. The higher the number, the later the layer and the objects within it are rendered.
VisibleObjects cim:VisibilityLayer.VisibleObjects 1..* DiagramObject direct A visibility layer can contain one or more diagram objects.
value cim:AngleDegrees.value 0..1 float direct No description available
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:VisibilityLayer",
    "cim:VisibilityLayer.drawingOrder": "integer",
    "cim:VisibilityLayer.VisibleObjects": [ { "@id": "urn:uuid:<uuid of DiagramObject>" } ],
    "cim:AngleDegrees.value": "float",
    "cim:IdentifiedObject.mRID": "string",
    "cim:IdentifiedObject.description": "string",
    "cim:IdentifiedObject.name": "string"
}
<cim:VisibilityLayer rdf:ID="_<uuid>">
    <cim:VisibilityLayer.drawingOrder>integer</cim:VisibilityLayer.drawingOrder>
    <cim:VisibilityLayer.VisibleObjects rdf:resource="#_<uuid of DiagramObject>" />
    <cim:AngleDegrees.value>float</cim:AngleDegrees.value>
    <cim:IdentifiedObject.mRID>string</cim:IdentifiedObject.mRID>
    <cim:IdentifiedObject.description>string</cim:IdentifiedObject.description>
    <cim:IdentifiedObject.name>string</cim:IdentifiedObject.name>
</cim:VisibilityLayer>
{
    "drawingOrder": "integer",
    "VisibleObjects": [
        "<DiagramObject>"
    ],
    "value": "float",
    "mRID": "string",
    "description": "string",
    "name": "string"
}
<urn:uuid:<graph-id>> {
    <urn:uuid:<uuid>>
        a cim:VisibilityLayer ;
        cim:VisibilityLayer.drawingOrder "integer" ;
        cim:VisibilityLayer.VisibleObjects <urn:uuid:<uuid of DiagramObject>> ;
        cim:AngleDegrees.value "float" ;
        cim:IdentifiedObject.mRID "string" ;
        cim:IdentifiedObject.description "string" ;
        cim:IdentifiedObject.name "string" .
}

Schema Source