Sigma.js Settings
The list of settings and some handy functions.
Interfaces
Variables
DEFAULT_EDGE_PROGRAM_CLASSES
• Const
DEFAULT_EDGE_PROGRAM_CLASSES: Record
<string
, EdgeProgramType
>
Defined in
DEFAULT_NODE_PROGRAM_CLASSES
• Const
DEFAULT_NODE_PROGRAM_CLASSES: Record
<string
, NodeProgramType
>
Defined in
DEFAULT_SETTINGS
• Const
DEFAULT_SETTINGS: Settings
<Attributes
, Attributes
, Attributes
>
Defined in
Functions
resolveSettings
▸ resolveSettings<N
, E
, G
>(settings
): Settings
<N
, E
, G
>
Type parameters
Name | Type |
---|---|
N | extends Attributes = Attributes |
E | extends Attributes = Attributes |
G | extends Attributes = Attributes |
Parameters
Name | Type |
---|---|
settings | Partial <Settings <N , E , G >> |
Returns
Settings
<N
, E
, G
>
Defined in
validateSettings
▸ validateSettings<N
, E
, G
>(settings
): void
Type parameters
Name | Type |
---|---|
N | extends Attributes = Attributes |
E | extends Attributes = Attributes |
G | extends Attributes = Attributes |
Parameters
Name | Type |
---|---|
settings | Settings <N , E , G > |
Returns
void