Skip to content

NetworkUpdateOptions

Defined in: network/network.ts:801

A change to the flow and the modules of the network the engine holds, for Network.update (#547): what a re-clustering (an Infomap run) gives. Indexed per node of the loaded network. A field left out is unchanged.

optional flow?: ArrayLike<number>

Defined in: network/network.ts:803

The new per-node flow (NetworkGraph.flow), length nodeCount. The engine keeps its own copy.


optional moduleLinks?: ArrayLike<ModuleLink> | null

Defined in: network/network.ts:810

The new module links, as NetworkDataOptions.moduleLinks takes them; null removes them. Requires modules, given here or held.


optional modules?: ArrayLike<ModuleNode> | null

Defined in: network/network.ts:807

The new module assignment, as NetworkDataOptions.modules takes it; null removes the modules and their links. New modules come with their own moduleLinks or none: the links held until now are addressed in the old modules’ paths, so new modules without moduleLinks clear them.