GraphReFlyTS

API Reference

depCount()

Number of declared dep slots visible in this invocation.

Import

import { depCount } from "@graphrefly/ts/core";

Signature

function depCount(ctx: Ctx): number

Parameters

ParameterTypeDescription
ctxCtxNode execution context supplied by the dispatcher.

Returns

A number value.

Example

import { depCount } from "@graphrefly/ts/core";

Source

packages/ts/src/ctx/types.ts