This functionality is only available for certain module packages.

You are here: Reference > GRAPH2D > Tags > diagramEditor

diagramEditor

The element <diagramEditor> is the top-level element. All following diagram configuration elements are wrapped by this element. In order to automatically populate a diagram with nodes, the initial diagram nodes must be given via the slaveNode attribute.

Attribute name Usage Attribute values Default value Description
acceptedChildren optional IDREFS A list of nodes, which can be added to the diagram as top-level elements.
id required any A unique ID, to which can be referenced in this document.
instantiationPoint optional String Is currently not evaluated.
packageable required String Formula assigning the element to the engineering object
router required String ID of the router, who is described in the following
slaveNodes optional String Formula,which returns a list of depending objects
title required String Label of the diagram, when a new diagram is defined
version required String Any version number
Allowed sub-elements Quantity
action any
command any
connection any
editRequestHandler any
node at least 1
paletteEntry any
reference any
router at least 1

To configure an overlay, the tag < editRequestHandler xsi:type="formui:formui-handler" /> is used to access the schema of the formui name space. To be able to use the schema of this name space, it must be introduced with the <diagramEditor> tag.