This functionality is only available for certain module packages.

You are here: Tutorial > GRAPH2D discipline > Expanding the configuration with nodes for floor and room > Configuration of the node for Room

Configuration of the node for Room

The node for Room should be a container for nodes of type Roomcomponent and should likewise be depicted as a polygon. To distinguish it from the node Floor, which is drawn with a dash-dot line, the room should be depicted with a solid line (see property-id="boLineStyle").

  1. Below the configuration of the node Floor, insert the following lines for the node Room.
<!-- Inherits properties of "abstract_Buildingcomponent" -->
<node id="Room" super="abstract_Buildingcomponent" valid="=isInstanceEO() and isInstanceOf('IT_Architecture.Levelcomponents.Room')">
	<figurePolygon figure="com.mind8.graph2d.figure.container.Polygon">
		<properties>
			<property id="boLineStyle">
				<read value="1" />
			</property>
			<property id="prefWidth">
				<read value="400" />
			</property>
			<property id="prefHeight">
				<read value="400" />
			</property>
			<property id="bendpointsCount">
				<read value="4" />
			</property>
			<property id="bendpointsModifiable">
				<read value="true" />
			</property>
		</properties>
	</figurePolygon>
	<property id="text">
		<read value="=$Tooltip" />
	</property>
</node>
  1. Save the diagram configuration ([Ctrl] + [S]).