@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