Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

ensurePorts

ソース

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

Walk the graph and ensure every link endpoint references an existing `NodePort`. Idempotent — graphs that already comply pass through unchanged (modulo deep-copy).

ensurePorts(graph: NetworkGraph): NetworkGraph

パラメーター

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

戻り値

NetworkGraph

libs/@shumoku/core/src/models/migrate.ts:87