Examples
Edges
Edge Label Renderer

Edge Label Renderer

If you need more control of your edge labels, you can use the EdgeLabelRenderer component. It's a portal component that lets you render edge labels as divs on top of the edges. If you want to add mouse interactions you need to set pointer-events: all on the label.

Read-only