日本語
@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?
optionalbackground?:boolean
Defined in: src/core/types.ts:896
Paint an opaque background. Default true.
edgeLabel?
optionaledgeLabel?: (edge) =>string|undefined
Defined in: src/core/types.ts:908
Parameters
edge
E
Returns
string | undefined
idPrefix?
optionalidPrefix?:string
Defined in: src/core/types.ts:899
Prefix for marker IDs. Defaults to an ID unique to the component instance.
includeHighlight?
optionalincludeHighlight?:boolean
Defined in: src/core/types.ts:905
Draw the nodes and edges of highlightedNodeIds and highlightedEdgeIds in the highlighted style. Default true.
includeSelection?
optionalincludeSelection?:boolean
Defined in: src/core/types.ts:903
Draw selected nodes in the selected style. Default true.
nodeDetail?
optionalnodeDetail?: (node) =>string|undefined
Defined in: src/core/types.ts:907
Parameters
node
N
Returns
string | undefined
nodeLabel?
optionalnodeLabel?: (node) =>string
Defined in: src/core/types.ts:906
Parameters
node
N
Returns
string
padding?
optionalpadding?:number
Defined in: src/core/types.ts:894
Margin around the content in pixels. Default 16.
theme?
optionaltheme?:SvgExportThemeInput
Defined in: src/core/types.ts:901
Colours that replace the values read from the --vw-* custom properties.
title?
optionaltitle?:string
Defined in: src/core/types.ts:897