Skip to main content

Interface: Settings<N, E, G>

Sigma.js settings

Type Parameters

N extends Attributes = Attributes

E extends Attributes = Attributes

G extends Attributes = Attributes

Properties

allowInvalidContainer

allowInvalidContainer: boolean

Defined in

sigma/src/settings.ts:95


antiAliasingFeather

antiAliasingFeather: number

Defined in

sigma/src/settings.ts:59


autoCenter

autoCenter: boolean

Defined in

sigma/src/settings.ts:77


autoRescale

autoRescale: boolean

Defined in

sigma/src/settings.ts:76


defaultDrawEdgeLabel

defaultDrawEdgeLabel: EdgeLabelDrawingFunction<N, E, G>

Defined in

sigma/src/settings.ts:55


defaultDrawNodeHover

defaultDrawNodeHover: NodeHoverDrawingFunction<N, E, G>

Defined in

sigma/src/settings.ts:57


defaultDrawNodeLabel

defaultDrawNodeLabel: NodeLabelDrawingFunction<N, E, G>

Defined in

sigma/src/settings.ts:56


defaultEdgeColor

defaultEdgeColor: string

Defined in

sigma/src/settings.ts:44


defaultEdgeType

defaultEdgeType: string

Defined in

sigma/src/settings.ts:45


defaultNodeColor

defaultNodeColor: string

Defined in

sigma/src/settings.ts:42


defaultNodeType

defaultNodeType: string

Defined in

sigma/src/settings.ts:43


doubleClickTimeout

doubleClickTimeout: number

Defined in

sigma/src/settings.ts:68


doubleClickZoomingDuration

doubleClickZoomingDuration: number

Defined in

sigma/src/settings.ts:70


doubleClickZoomingRatio

doubleClickZoomingRatio: number

Defined in

sigma/src/settings.ts:69


draggedEventsTolerance

draggedEventsTolerance: number

Defined in

sigma/src/settings.ts:63


dragTimeout

dragTimeout: number

Defined in

sigma/src/settings.ts:62


edgeLabelColor

edgeLabelColor: object | object

Defined in

sigma/src/settings.ts:53


edgeLabelFont

edgeLabelFont: string

Defined in

sigma/src/settings.ts:50


edgeLabelSize

edgeLabelSize: number

Defined in

sigma/src/settings.ts:51


edgeLabelWeight

edgeLabelWeight: string

Defined in

sigma/src/settings.ts:52


edgeProgramClasses

edgeProgramClasses: object

Index Signature

[type: string]: EdgeProgramType<N, E, G>

Defined in

sigma/src/settings.ts:100


edgeReducer

edgeReducer: null | (edge, data) => Partial<DisplayData>

Defined in

sigma/src/settings.ts:86


enableCameraRotation

enableCameraRotation: boolean

Defined in

sigma/src/settings.ts:92


enableEdgeEvents

enableEdgeEvents: boolean

Defined in

sigma/src/settings.ts:40


hideEdgesOnMove

hideEdgesOnMove: boolean

Defined in

sigma/src/settings.ts:36


hideLabelsOnMove

hideLabelsOnMove: boolean

Defined in

sigma/src/settings.ts:37


inertiaDuration

inertiaDuration: number

Defined in

sigma/src/settings.ts:64


inertiaRatio

inertiaRatio: number

Defined in

sigma/src/settings.ts:65


itemSizesReference

itemSizesReference: "screen" | "positions"

Defined in

sigma/src/settings.ts:75


labelColor

labelColor: object | object

Defined in

sigma/src/settings.ts:49


labelDensity

labelDensity: number

Defined in

sigma/src/settings.ts:80


labelFont

labelFont: string

Defined in

sigma/src/settings.ts:46


labelGridCellSize

labelGridCellSize: number

Defined in

sigma/src/settings.ts:81


labelRenderedSizeThreshold

labelRenderedSizeThreshold: number

Defined in

sigma/src/settings.ts:82


labelSize

labelSize: number

Defined in

sigma/src/settings.ts:47


labelWeight

labelWeight: string

Defined in

sigma/src/settings.ts:48


maxCameraRatio

maxCameraRatio: null | number

Defined in

sigma/src/settings.ts:91


minCameraRatio

minCameraRatio: null | number

Defined in

sigma/src/settings.ts:90


minEdgeThickness

minEdgeThickness: number

Defined in

sigma/src/settings.ts:58


nodeHoverProgramClasses

nodeHoverProgramClasses: object

Index Signature

[type: string]: NodeProgramType<N, E, G>

Defined in

sigma/src/settings.ts:99


nodeProgramClasses

nodeProgramClasses: object

Index Signature

[type: string]: NodeProgramType<N, E, G>

Defined in

sigma/src/settings.ts:98


nodeReducer

nodeReducer: null | (node, data) => Partial<NodeDisplayData>

Defined in

sigma/src/settings.ts:85


renderEdgeLabels

renderEdgeLabels: boolean

Defined in

sigma/src/settings.ts:39


renderLabels

renderLabels: boolean

Defined in

sigma/src/settings.ts:38


stagePadding

stagePadding: number

Defined in

sigma/src/settings.ts:54


tapMoveTolerance

tapMoveTolerance: number

Defined in

sigma/src/settings.ts:71


zIndex

zIndex: boolean

Defined in

sigma/src/settings.ts:89


zoomDuration

zoomDuration: number

Defined in

sigma/src/settings.ts:66


zoomingRatio

zoomingRatio: number

Defined in

sigma/src/settings.ts:67


zoomToSizeRatioFunction()

zoomToSizeRatioFunction: (ratio) => number

Parameters

ratio: number

Returns

number

Defined in

sigma/src/settings.ts:74