本文へ移動

@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? ​

optional background?: boolean

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

Paint an opaque background. Default true.

Inherited from ​

GraphExportOptions.background


edgeLabel? ​

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

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

Parameters ​

edge ​

E

Returns ​

string | undefined

Inherited from ​

GraphExportOptions.edgeLabel


idPrefix? ​

optional idPrefix?: string

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

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

Inherited from ​

GraphExportOptions.idPrefix


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.

Inherited from ​

GraphExportOptions.includeHighlight


includeSelection? ​

optional includeSelection?: boolean

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

Draw selected nodes in the selected style. Default true.

Inherited from ​

GraphExportOptions.includeSelection


nodeDetail? ​

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

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

Parameters ​

node ​

N

Returns ​

string | undefined

Inherited from ​

GraphExportOptions.nodeDetail


nodeLabel? ​

optional nodeLabel?: (node) => string

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

Parameters ​

node ​

N

Returns ​

string

Inherited from ​

GraphExportOptions.nodeLabel


padding? ​

optional padding?: number

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

Margin around the content in pixels. Default 16.

Inherited from ​

GraphExportOptions.padding


scale? ​

optional scale?: number

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

Device pixels per CSS pixel, greater than 0 and at most 8. Default 1.

Inherited from ​

PngExportOptions.scale


theme? ​

optional theme?: SvgExportThemeInput

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

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

Inherited from ​

GraphExportOptions.theme


title? ​

optional title?: string

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

Inherited from ​

GraphExportOptions.title

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