Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.6.1 · function

toNetworkGraph

Source

Builds the graph that layout and the renderers draw from the configuration and its drawing, joined with the observation record when the caller has one (the Server, after the merge). Sources are not read: `resolveNetwork` merges them into the configuration first.

toNetworkGraph(model: NetworkModel, observation?: ObservationLayer): NetworkGraph

Parameters

Parameter Type Description Default
model NetworkModel No additional description. —
observation ObservationLayer No additional description. —

Returns

NetworkGraph

libs/@shumoku/core/src/libs/@shumoku/core/src/models/network-model-graph.ts:81