Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

EN

@shumoku/core · 0.4.2 · function

fromNetworkGraph

ソース

APIの説明は英語のcanonical sourceを表示しています。

Splits a drawn graph back into its configuration and layers: the inverse of `toNetworkGraph` for what the configuration can say. A node drawn for a segment becomes the segment again.

fromNetworkGraph(graph: NetworkGraph): NetworkModel

パラメーター

名前 型 説明 既定値
graph NetworkGraph 追加説明はありません。 —

戻り値

NetworkModel

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