API — Interface: NodeCtx

Interface: NodeCtx

Defined in: render-svg/hooks.ts:31

Extends

Properties

accent

readonly accent: string;

Defined in: render-svg/hooks.ts:37


badge?

readonly optional badge?: NodeBadgeInfo;

Defined in: render-svg/hooks.ts:40


fontSize

readonly fontSize: number;

Defined in: render-svg/hooks.ts:7

Inherited from

BaseCtx.fontSize


graph

readonly graph: LaidOutGraph;

Defined in: render-svg/hooks.ts:9

Inherited from

BaseCtx.graph


header

readonly header: NodeHeaderInfo;

Defined in: render-svg/hooks.ts:39


height

readonly height: number;

Defined in: render-svg/hooks.ts:36


isUnion

readonly isUnion: boolean;

Defined in: render-svg/hooks.ts:38


node

readonly node: NodeBox;

Defined in: render-svg/hooks.ts:32


padding

readonly padding: number;

Defined in: render-svg/hooks.ts:8

Inherited from

BaseCtx.padding


theme

readonly theme: Theme;

Defined in: render-svg/hooks.ts:6

Inherited from

BaseCtx.theme


width

readonly width: number;

Defined in: render-svg/hooks.ts:35


x

readonly x: number;

Defined in: render-svg/hooks.ts:33


y

readonly y: number;

Defined in: render-svg/hooks.ts:34