g6/packages/site/examples/tool/legend/index.en.md

293 B

title order
Legend 9

Using Legend Plugin in G6, but not reigstered by default. It needs to be imported into the code and registered with the extend method, and then you could configured it to the graph instance.

Usage

The demo below show how to use Legend Plugin on a graph.