Skip to content
PACKAGES

validateNoIslands()

Detect nodes with zero deps and zero dependents in a describe snapshot.

import { validateNoIslands } from "@graphrefly/ts/graph";
function validateNoIslands(snapshot: DescribeSnapshot): ValidateNoIslandsResult
ParameterTypeDescription
snapshotDescribeSnapshotsnapshot value used by the helper.

Validation diagnostics or the validated projection.

import { validateNoIslands } from "@graphrefly/ts/graph";

packages/ts/src/graph/diagnostics.ts