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
antiAliasingFeather
antiAliasingFeather:
number
Defined in
autoCenter
autoCenter:
boolean
Defined in
autoRescale
autoRescale:
boolean
Defined in
defaultDrawEdgeLabel
defaultDrawEdgeLabel:
EdgeLabelDrawingFunction
<N
,E
,G
>
Defined in
defaultDrawNodeHover
defaultDrawNodeHover:
NodeHoverDrawingFunction
<N
,E
,G
>
Defined in
defaultDrawNodeLabel
defaultDrawNodeLabel:
NodeLabelDrawingFunction
<N
,E
,G
>
Defined in
defaultEdgeColor
defaultEdgeColor:
string
Defined in
defaultEdgeType
defaultEdgeType:
string
Defined in
defaultNodeColor
defaultNodeColor:
string
Defined in
defaultNodeType
defaultNodeType:
string
Defined in
doubleClickTimeout
doubleClickTimeout:
number
Defined in
doubleClickZoomingDuration
doubleClickZoomingDuration:
number
Defined in
doubleClickZoomingRatio
doubleClickZoomingRatio:
number
Defined in
draggedEventsTolerance
draggedEventsTolerance:
number
Defined in
dragTimeout
dragTimeout:
number
Defined in
edgeLabelColor
edgeLabelColor:
object
|object
Defined in
edgeLabelFont
edgeLabelFont:
string
Defined in
edgeLabelSize
edgeLabelSize:
number
Defined in
edgeLabelWeight
edgeLabelWeight:
string
Defined in
edgeProgramClasses
edgeProgramClasses:
object
Index Signature
[type
: string
]: EdgeProgramType
<N
, E
, G
>
Defined in
edgeReducer
edgeReducer:
null
| (edge
,data
) =>Partial
<DisplayData
>
Defined in
enableCameraRotation
enableCameraRotation:
boolean
Defined in
enableEdgeEvents
enableEdgeEvents:
boolean
Defined in
hideEdgesOnMove
hideEdgesOnMove:
boolean
Defined in
hideLabelsOnMove
hideLabelsOnMove:
boolean
Defined in
inertiaDuration
inertiaDuration:
number
Defined in
inertiaRatio
inertiaRatio:
number
Defined in
itemSizesReference
itemSizesReference:
"screen"
|"positions"
Defined in
labelColor
labelColor:
object
|object
Defined in
labelDensity
labelDensity:
number
Defined in
labelFont
labelFont:
string
Defined in
labelGridCellSize
labelGridCellSize:
number
Defined in
labelRenderedSizeThreshold
labelRenderedSizeThreshold:
number
Defined in
labelSize
labelSize:
number
Defined in
labelWeight
labelWeight:
string
Defined in
maxCameraRatio
maxCameraRatio:
null
|number
Defined in
minCameraRatio
minCameraRatio:
null
|number
Defined in
minEdgeThickness
minEdgeThickness:
number
Defined in
nodeHoverProgramClasses
nodeHoverProgramClasses:
object
Index Signature
[type
: string
]: NodeProgramType
<N
, E
, G
>
Defined in
nodeProgramClasses
nodeProgramClasses:
object
Index Signature
[type
: string
]: NodeProgramType
<N
, E
, G
>
Defined in
nodeReducer
nodeReducer:
null
| (node
,data
) =>Partial
<NodeDisplayData
>
Defined in
renderEdgeLabels
renderEdgeLabels:
boolean
Defined in
renderLabels
renderLabels:
boolean
Defined in
stagePadding
stagePadding:
number
Defined in
tapMoveTolerance
tapMoveTolerance:
number
Defined in
zIndex
zIndex:
boolean
Defined in
zoomDuration
zoomDuration:
number
Defined in
zoomingRatio
zoomingRatio:
number
Defined in
zoomToSizeRatioFunction()
zoomToSizeRatioFunction: (
ratio
) =>number
Parameters
• ratio: number
Returns
number