mirror of
https://gitee.com/antv/g6.git
synced 2024-12-15 01:51:00 +08:00
434 B
434 B
title | order |
---|---|
ToolBar | 4 |
ToolBar is a build-in Component 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 toolbar on graph. Toolbar's style can be defined by the CSS with class name g6-component-toolbar
:
.g6-component-toolbar {
// css styles
}