Custom Port Location Model Demo
This demo demonstrates how to create and use a custom IPortLocationModel.
Things to Try
-
Create a new node by clicking on the canvas and connect it to another node with a new
edge. The green dots visualize the possible port candidates, which have been customized
in this demo. The port location model defines five discreet locations for each node.
-
Select one of the nodes and drag one of the port handles. You will only be able to move
the handle to one of the other custom port locations supported by the port location
model.
- Save and load the graph.
Related Demo