本文へ移動

@eightkk/vue-weave / core / GraphExportOptions

Interface: GraphExportOptions<N, E> ​

Defined in: src/core/types.ts:892

N and E type the nodes and edges that the label callbacks receive.

Extended by ​

Type Parameters ​

N ​

N extends NetworkNode = NetworkNode

E ​

E extends GraphEdge = GraphEdge

Properties ​

background? ​

optional background?: boolean

Defined in: src/core/types.ts:896

Paint an opaque background. Default true.


edgeLabel? ​

optional edgeLabel?: (edge) => string | undefined

Defined in: src/core/types.ts:908

Parameters ​

edge ​

E

Returns ​

string | undefined


idPrefix? ​

optional idPrefix?: string

Defined in: src/core/types.ts:899

Prefix for marker IDs. Defaults to an ID unique to the component instance.


includeHighlight? ​

optional includeHighlight?: boolean

Defined in: src/core/types.ts:905

Draw the nodes and edges of highlightedNodeIds and highlightedEdgeIds in the highlighted style. Default true.


includeSelection? ​

optional includeSelection?: boolean

Defined in: src/core/types.ts:903

Draw selected nodes in the selected style. Default true.


nodeDetail? ​

optional nodeDetail?: (node) => string | undefined

Defined in: src/core/types.ts:907

Parameters ​

node ​

N

Returns ​

string | undefined


nodeLabel? ​

optional nodeLabel?: (node) => string

Defined in: src/core/types.ts:906

Parameters ​

node ​

N

Returns ​

string


padding? ​

optional padding?: number

Defined in: src/core/types.ts:894

Margin around the content in pixels. Default 16.


theme? ​

optional theme?: SvgExportThemeInput

Defined in: src/core/types.ts:901

Colours that replace the values read from the --vw-* custom properties.


title? ​

optional title?: string

Defined in: src/core/types.ts:897

MIT ライセンスで公開しています。