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

11 lines
293 B
Markdown

---
title: Legend
order: 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.