Function ProceduralGraphMover.UpdateGraph

UpdateGraph (bool async=true)

Updates the graph asynchronously.

Public
void UpdateGraph (

bool

async=true

)

Updates the graph asynchronously.

This will move the graph so that the target's position is (roughly) the center of the graph. If the graph is already being updated, the call will be ignored.

The image below shows which nodes will be updated when the graph moves. The whole graph is not recalculated each time it is moved, but only those nodes that have to be updated, the rest will keep their old values. The image is a bit simplified but it shows the main idea.

If you want to move the graph synchronously then pass false to the async parameter.