日本語
@eightkk/vue-weave / core / GraphPngExportOptions
Interface: GraphPngExportOptions<N, E>
Defined in: src/core/types.ts:919
N and E type the nodes and edges that the label callbacks receive.
Extends
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.
Inherited from
edgeLabel?
optionaledgeLabel?: (edge) =>string|undefined
Defined in: src/core/types.ts:908
Parameters
edge
E
Returns
string | undefined
Inherited from
idPrefix?
optionalidPrefix?:string
Defined in: src/core/types.ts:899
Prefix for marker IDs. Defaults to an ID unique to the component instance.
Inherited from
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.
Inherited from
GraphExportOptions.includeHighlight
includeSelection?
optionalincludeSelection?:boolean
Defined in: src/core/types.ts:903
Draw selected nodes in the selected style. Default true.
Inherited from
GraphExportOptions.includeSelection
nodeDetail?
optionalnodeDetail?: (node) =>string|undefined
Defined in: src/core/types.ts:907
Parameters
node
N
Returns
string | undefined
Inherited from
nodeLabel?
optionalnodeLabel?: (node) =>string
Defined in: src/core/types.ts:906
Parameters
node
N
Returns
string
Inherited from
padding?
optionalpadding?:number
Defined in: src/core/types.ts:894
Margin around the content in pixels. Default 16.
Inherited from
scale?
optionalscale?:number
Defined in: src/core/types.ts:914
Device pixels per CSS pixel, greater than 0 and at most 8. Default 1.
Inherited from
theme?
optionaltheme?:SvgExportThemeInput
Defined in: src/core/types.ts:901
Colours that replace the values read from the --vw-* custom properties.
Inherited from
title?
optionaltitle?:string
Defined in: src/core/types.ts:897