g3-toolkit API Reference
Preparing search index...
react/src
shapeForIndex
Function shapeForIndex
shapeForIndex
(
index
:
number
,
)
:
|
"ellipse"
|
"rectangle"
|
"diamond"
|
"hexagon"
|
"triangle"
|
"star"
|
"round-rectangle"
|
"barrel"
Get the shape for a node type index (wraps around).
Parameters
index
:
number
Returns
|
"ellipse"
|
"rectangle"
|
"diamond"
|
"hexagon"
|
"triangle"
|
"star"
|
"round-rectangle"
|
"barrel"
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
g3-toolkit API Reference
Loading...
Get the shape for a node type index (wraps around).