Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

validateTopologyIdentityContract

ソース

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

Check whether `graph` satisfies the topology identity contract. Returns arrays of violating node/port ids. Both arrays empty → contract met.

validateTopologyIdentityContract(graph: NetworkGraph): TopologyIdentityContractResult

パラメーター

名前 説明 既定値
graph NetworkGraph A NetworkGraph returned by a TopologyCapable plugin's `fetchTopology()` (or an equivalent in-process fixture).

戻り値

TopologyIdentityContractResult

libs/@shumoku/core/src/plugin-kit/topology-identity-contract.ts:50