Skip to content

Properties

id

id: string

The subgraph id. The cluster_ prefix is added automatically when communicating with the underlying cgraph library; users never need to include it. The id is also set as the id Graphviz attribute on the subgraph.


attrs?

optional attrs?: Partial<{ area?: number; bb?: string; bgcolor?: string; class?: string; cluster?: NonNullable<boolean | undefined>; color?: string; colorscheme?: string; fillcolor?: string; fontcolor?: string; fontname?: string; fontsize?: number; gradientangle?: number; href?: string; id?: string; K?: number; label?: string; labeljust?: string; labelloc?: NonNullable<LabelLoc | undefined>; layer?: string; lheight?: number; lp?: string; lwidth?: number; margin?: NonNullable<string | number | undefined>; nojustify?: NonNullable<boolean | undefined>; pencolor?: string; penwidth?: number; peripheries?: number; rank?: NonNullable<RankType | undefined>; sortv?: number; style?: string; target?: string; tooltip?: string; URL?: string; }>


htmlAttrs?

optional htmlAttrs?: Partial<{ area?: number; bb?: string; bgcolor?: string; class?: string; cluster?: NonNullable<boolean | undefined>; color?: string; colorscheme?: string; fillcolor?: string; fontcolor?: string; fontname?: string; fontsize?: number; gradientangle?: number; href?: string; id?: string; K?: number; label?: string; labeljust?: string; labelloc?: NonNullable<LabelLoc | undefined>; layer?: string; lheight?: number; lp?: string; lwidth?: number; margin?: NonNullable<string | number | undefined>; nojustify?: NonNullable<boolean | undefined>; pencolor?: string; penwidth?: number; peripheries?: number; rank?: NonNullable<RankType | undefined>; sortv?: number; style?: string; target?: string; tooltip?: string; URL?: string; }>

Released under the Apache-2.0 License.