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

 classDiagram
    class VisibilityLayer
    click VisibilityLayer href "../VisibilityLayer"
      IdentifiedObject <|-- VisibilityLayer
        click IdentifiedObject href "../IdentifiedObject"

      VisibilityLayer : IdentifiedObject.description

      VisibilityLayer : IdentifiedObject.DiagramObjects

          VisibilityLayer --> DiagramObject : IdentifiedObject.DiagramObjects
          click DiagramObject href "../DiagramObject"

      VisibilityLayer : VisibilityLayer.drawingOrder

      VisibilityLayer : IdentifiedObject.mRID

      VisibilityLayer : IdentifiedObject.name

      VisibilityLayer : VisibilityLayer.VisibleObjects

          VisibilityLayer --> DiagramObject : VisibilityLayer.VisibleObjects
          click DiagramObject href "../DiagramObject"

Inheritance

Attributes

Name URI Cardinality and Range Description Inheritance
VisibleObjects cim:VisibilityLayer.VisibleObjects 1..*
DiagramObject
A visibility layer can contain one or more diagram objects direct
drawingOrder cim:VisibilityLayer.drawingOrder 0..1
integer
The drawing order for this layer direct
DiagramObjects cim:IdentifiedObject.DiagramObjects *
DiagramObject
The diagram objects that are associated with the domain object IdentifiedObject
mRID cim:IdentifiedObject.mRID 1
string
Master resource identifier issued by a model authority IdentifiedObject
name cim:IdentifiedObject.name 1
string
The name is any free human readable and possibly non unique text naming the o... IdentifiedObject
description cim:IdentifiedObject.description 0..1
string
The description is a free human readable text describing or naming the object IdentifiedObject

Usages

used by used in type used
DiagramObject VisibilityLayers range VisibilityLayer
TextDiagramObject VisibilityLayers range VisibilityLayer

Identifier and Mapping Information

Schema Source

  • from schema: http://iec.ch/TC57/ns/CIM/DiagramLayout-EU#Package_DiagramLayoutProfile

Mappings

Mapping Type Mapped Value
self cim:VisibilityLayer
native this:VisibilityLayer