Mit diesem Element werden ellipsenförmige grafische Objekte konfiguriert. Die nähere Definition erfolgt über die Unterelemente.
Hinweis:
Dieses figure ist abgeleitet von figureBase und erbt dessen properties.
Attributname | Verwendung | Attributwerte | Defaultwert | Beschreibung |
---|---|---|---|---|
figure | benötigt | com.mind8.graph2d.figure.container.Ellipse |
Erlaubte Unterelemente | Anzahl |
---|---|
configuration | 0 oder 1 |
properties | 0 oder 1 |
Hinweis:
Reihenfolge beachten:
Innerhalb von <figureBase>, <figureContainer>, <figureEllipse>, <figureImage>, <figureLabel> und <figurePolygon> ist erst <configuration> und dann <properties> zu konfigurieren.
Beispiel für die Definition des Schutzkreises als elliptisches Objekt.
<node id="SafetyCircuit"
super="Component"
valid="=isInstanceEO() and
isInstanceOf('BodyShellWork_Architecture.LevelComponents.SafetyCircuit')" acceptedChildren="Function LabelAsSlave">
<figureEllipse figure="com.mind8.graph2d.figure.container.Ellipse">
<properties>
<property id="showLabel">
<read value="true"/>
</property>
<property id="boColor">
<read value="62,12,144"/>
</property>
<property id="transparency">
<read value="80"/>
</property>
<property id="bColor">
<read value="255,255,255"/>
</property>
<property id="boWidth">
<read value="4"/>
</property>
<property id="prefWidth">
<read value="250"/>
</property>
<property id="prefHeight">
<read value="250"/>
</property>
</properties>
</figureEllipse>
<property id="text">
<read value="=$Designation"/>
<write key="value" receiver="=getParameter('Designation')"/>
</property>
</node>
Ergebnis:
Eine Instanz des Schutzkreises wird mit der Definition des Beispiels im Diagramm als Ellipse dargestellt. Die Größe und Form der Ellipse kann durch ziehen an den Knotenpunkten verändert werden.