Connecting Network Graphs

Network graph connectivity is defined by setting up an Action using Built-in Operations built-in operations.

A network graph is defined in two parts, which must be performed in order using a sequence:

  1. Define the objects within the network graph (using the add_position and remove_position built-in operations)

  2. Set up the connections within the network graph (using the connect_positions and disconnect_positions built-in operations)

     Note: You can add and connect features which already exist in the network graph, but an error occurs if you try to connect or disconnect features which have not yet been added. If you remove a feature from the network graph, you do not need to disconnect it first.

Spatial relationships are used to define how the points and lines interact (e.g. touch, overlap, or cross). In a network graph constructed from point and line features, the points become nodes and the lines are the connections between the nodes.

You can construct multiple network graphs in 1Integrate. Although Rules are run against all network graphs, each is reported separately.

     Note: The Connectivity Network system class allows you to select network connectivity attributes in a Rule or Action (see Classes and Attributes).

Actions can be created in many ways to achieve the same network graph connectivity. Labels and multiple Actions can be used to connect a network graph in stages.

Line Networks

In the example below, the points of contact become nodes in the network graph, with road sections as the connections.

Part 1 of the Action defining a road network.
Add the current road object.
Part 2 of the Action defining a road network.
Check if the current road object touches another road, then add that road, and connect them together in the network.

Line and Point Networks

The following example shows how a network graph of valves (points) and pipes (lines) might be defined.

Part 1 of the Action defining a network of valves and pipes.
Add the current water pipe object and find if it touches a valve.
Part 2 of the Action defining a network of valves and pipes.
Find neighbouring water pipes that touch the same valve.
Part 3 of the Action defining a network of valves and pipes.
Add the neighbouring object to the network then connect the two.