Skip to content

Link Rendering

Each node in the graph (that has links), will also be connected to other nodes via links. Here, you can find how you can customize the width of these links, and the arrows that can be rendered on them.

The linkWidth determines the width of the links between nodes. The higher the value, the thicker the links.

The linkHoverWidth determines the width of the links between nodes when hovered over. The higher the value, the thicker the links.

Arrow Rendering

The renderArrows option toggles the rendering of arrows on the edges of the graph. When arrows are rendered, they indicate which way the link is pointing.

{
"renderArrows": true
}

Arrow Size

The arrowSize determines the size of the arrows on the links between nodes. The higher the value, the larger the arrows. Arrows between links are only rendered if the renderArrows option is enabled.

{
"renderArrows": true,
"arrowSize": 5
}
arrowSize 10

Arrow Angle

The arrowAngle determines the ‘pointiness’ of the arrows on the links between nodes. The higher the value, the more pointed the arrows. Arrows between links are only rendered if the renderArrows option is enabled.

{
"renderArrows": true,
"arrowAngle": 0.5235987755982988
}
arrowAngle 0.5235987755982988