Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DGraphDotOpts<T>

Type parameters

  • T

Hierarchy

  • DGraphDotOpts

Index

Properties

Optional attribs

attribs: Partial<GraphAttribs>

Graph visualization attributes. See GraphAttribs for details.

id

id: Fn<T, string>

Required mapping function applied to each node in the dependency graph. Must return a unique ID per node.

Optional label

label: Fn<T, string>

Optional label function applied to each node to provide a potentially more human readable string than that of id. Not used if spec option is given.

Optional spec

spec: Fn<T, Partial<Node>>

Optional function applied to each node to provide an object of visualization options. See Node for details.

Generated using TypeDoc