validateNoIslands()
Detect nodes with zero deps and zero dependents in a describe snapshot.
Import
Section titled “Import”import { validateNoIslands } from "@graphrefly/ts/graph";Signature
Section titled “Signature”function validateNoIslands(snapshot: DescribeSnapshot): ValidateNoIslandsResultParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
snapshot | DescribeSnapshot | snapshot value used by the helper. |
Returns
Section titled “Returns”Validation diagnostics or the validated projection.
Example
Section titled “Example”import { validateNoIslands } from "@graphrefly/ts/graph";Source
Section titled “Source”packages/ts/src/graph/diagnostics.ts