Skip to content

Link Rendering

Each node in the graph can be connected to other nodes via links. Here, you can find how you can customize these links, including their width and whether arrows are rendered.

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.

The renderArrows option toggles the rendering of arrows on the edges of the graph. When arrows are rendered, they indicate the direction of the link between nodes.

{
"graphConfig": {
"renderArrows": true
}
}

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.

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

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

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