This functionality is only available for certain module packages.

You are here: Tutorial > GRAPH2D discipline > Configuring connections > Configuration of the routers

Configuration of the routers

The persons (workers) are to be connected to the devices (PC, Telephone) by means of polylines, which can have any number of bend points, and the LAN jacks (LAN_Jack) of the devices (PC, Telephone, Printer, 2way_LANJack, 5waySwitch) between one another through direct lines.

  1. Replace the configuration of the router <router id="router"> with the following lines.
<!-- Router -->
<!-- Router for connecting worker and device -->
<router id="Bendpoint" class="com.mind8.graph2d.router.Bendpoint" />
<!-- Router for connecting slave and device -->
<router id="ShortestPath" class="com.mind8.graph2d.router.ShortestPath" />
  1. In the tag <diagramEditor>, change the attribute router=”router” to router="ShortestPath".