# G6 > G6 是一个简单、易用、完备的图可视化引擎,它在高定制能力的基础上,提供了一系列设计优雅、便于使用的图可视化解决方案。能帮助开发者搭建属于自己的图可视化、图分析、或图编辑器应用。 Find relevant documents and examples under your language below, then read their Markdown links for content and source code. ## Agent resources - [Full documentation](/llms-full.txt): Combined Markdown content for all published documents. - [Site](/zh/) - [Source repository](https://github.com/antvis/G6) - Languages: zh - Current version: 5.1.1 ## 中文文档 ### api - [数据](/zh/api/data.md) - [画布操作](/zh/api/canvas.md) - [元素操作](/zh/api/element.md) - [图实例](/zh/api/graph.md) - [绘制与渲染](/zh/api/render.md) - [视口操作](/zh/api/viewport.md) - [布局](/zh/api/layout.md) - [图配置项](/zh/api/option.md) - [交互](/zh/api/behavior.md) - [插件](/zh/api/plugin.md) - [主题](/zh/api/theme.md) - [数据处理](/zh/api/transform.md) - [事件监听](/zh/api/event.md) - [坐标转换](/zh/api/coordinate.md) - [导出图片](/zh/api/export-image.md) ### backup - [CameraSetting 相机设置](/zh/backup/CameraSetting.md) ### manual - [交互总览](/zh/manual/behavior/overview.md) - [缩放画布 ZoomCanvas](/zh/manual/behavior/ZoomCanvas.md) - [组合总览](/zh/manual/element/combo/overview.md) - [边总览](/zh/manual/element/edge/overview.md) - [节点总览](/zh/manual/element/node/overview.md) - [事件](/zh/manual/further-reading/event.md) - [在 React 中使用](/zh/manual/getting-started/integration/react.md) - [快速开始](/zh/manual/getting-started/quick-start.md) - [Graph - 图](/zh/manual/graph/graph.md) - [Options 配置项](/zh/manual/graph/option.md) - [简介](/zh/manual/introduction.md) - [布局总览](/zh/manual/layout/overview.md) - [插件总览](/zh/manual/plugin/overview.md) - [数据处理总览](/zh/manual/transform/overview.md) - [动画总览](/zh/manual/animation/animation.md) - [标签自适应显示 AutoAdaptLabel](/zh/manual/behavior/AutoAdaptLabel.md) - [组合通用配置项](/zh/manual/element/combo/BaseCombo.md) - [边通用配置项](/zh/manual/element/edge/BaseEdge.md) - [节点通用配置项](/zh/manual/element/node/BaseNode.md) - [元素总览](/zh/manual/element/overview.md) - [图形 Shape 与 KeyShape](/zh/manual/element/shape/overview.md) - [渲染器](/zh/manual/further-reading/renderer.md) - [安装](/zh/manual/getting-started/installation.md) - [在 Vue 中使用](/zh/manual/getting-started/integration/vue.md) - [布局通用配置项](/zh/manual/layout/BaseLayout.md) - [背景 Background](/zh/manual/plugin/Background.md) - [主题总览](/zh/manual/theme/overview.md) - [动态调整节点大小 MapNodeSize](/zh/manual/transform/MapNodeSize.md) - [新版本特性](/zh/manual/whats-new/feature.md) - [自定义动画](/zh/manual/animation/custom-animation.md) - [框选 BrushSelect](/zh/manual/behavior/BrushSelect.md) - [圆形组合 Circle](/zh/manual/element/combo/CircleCombo.md) - [三次贝塞尔曲线边 Cubic](/zh/manual/element/edge/Cubic.md) - [圆形节点 Circle](/zh/manual/element/node/Circle.md) - [原子 Shape 以及其属性](/zh/manual/element/shape/properties.md) - [元素状态](/zh/manual/element/state.md) - [坐标系](/zh/manual/further-reading/coordinate.md) - [在 Angular 中使用](/zh/manual/getting-started/integration/angular.md) - [AntV Dagre 布局 AntvDagre](/zh/manual/layout/AntvDagreLayout.md) - [气泡集 BubbleSets](/zh/manual/plugin/BubbleSets.md) - [自定义主题](/zh/manual/theme/custom-theme.md) - [径向标签 PlaceRadialLabels](/zh/manual/transform/PlaceRadialLabels.md) - [点击选中 ClickSelect](/zh/manual/behavior/ClickSelect.md) - [矩形组合 Rect](/zh/manual/element/combo/RectCombo.md) - [水平三次贝塞尔曲线边 CubicHorizontal](/zh/manual/element/edge/CubicHorizontal.md) - [菱形节点 Diamond](/zh/manual/element/node/Diamond.md) - [复合 Shape 的设计与实现](/zh/manual/element/shape/label-shape.md) - [下载图片](/zh/manual/further-reading/download-image.md) - [详细教程](/zh/manual/getting-started/step-by-step.md) - [环形布局 Circular](/zh/manual/layout/CircularLayout.md) - [上下文菜单 Contextmenu](/zh/manual/plugin/Contextmenu.md) - [色板](/zh/manual/theme/palette.md) - [平行边 ProcessParallelEdges](/zh/manual/transform/ProcessParallelEdges.md) - [展开/收起元素 CollapseExpand](/zh/manual/behavior/CollapseExpand.md) - [数据 Data](/zh/manual/data.md) - [自定义 Combo](/zh/manual/element/combo/custom-combo.md) - [垂直三次贝塞尔曲线边 CubicVertical](/zh/manual/element/edge/CubicVertical.md) - [甜甜圈节点 Donut](/zh/manual/element/node/Donut.md) - [使用 iconfont](/zh/manual/further-reading/iconfont.md) - [内置扩展](/zh/manual/graph/extensions.md) - [复合布局 ComboCombined](/zh/manual/layout/ComboCombinedLayout.md) - [边绑定 EdgeBundling](/zh/manual/plugin/EdgeBundling.md) - [自定义色板](/zh/manual/theme/custom-palette.md) - [自定义数据处理](/zh/manual/transform/custom-transform.md) - [创建边 CreateEdge](/zh/manual/behavior/CreateEdge.md) - [直线边 Line](/zh/manual/element/edge/Line.md) - [椭圆形节点 Ellipse](/zh/manual/element/node/Ellipse.md) - [使用 3D](/zh/manual/further-reading/3d.md) - [紧凑树布局 CompactBox](/zh/manual/layout/CompactBoxLayout.md) - [边过滤镜 EdgeFilterLens](/zh/manual/plugin/EdgeFilterLens.md) - [拖拽画布 DragCanvas](/zh/manual/behavior/DragCanvas.md) - [折线边 Polyline](/zh/manual/element/edge/Polyline.md) - [二次贝塞尔曲线边 Quadratic](/zh/manual/element/edge/Quadratic.md) - [六边形节点 Hexagon](/zh/manual/element/node/Hexagon.md) - [项目打包](/zh/manual/further-reading/bundle.md) - [同心圆布局 Concentric](/zh/manual/layout/ConcentricLayout.md) - [鱼眼放大镜 Fisheye](/zh/manual/plugin/Fisheye.md) - [升级到 5.0](/zh/manual/whats-new/upgrade.md) - [拖拽元素 DragElement](/zh/manual/behavior/DragElement.md) - [自定义边](/zh/manual/element/edge/custom-edge.md) - [HTML节点 Html](/zh/manual/element/node/Html.md) - [3D D3力导向布局 D3Force3D](/zh/manual/layout/D3Force3DLayout.md) - [全屏展示 Fullscreen](/zh/manual/plugin/Fullscreen.md) - [从 5.0 升级到 5.1(布局)](/zh/manual/whats-new/upgrade-to-5-1.md) - [力导向拖拽元素 DragElementForce](/zh/manual/behavior/DragElementForce.md) - [图片节点 Image](/zh/manual/element/node/Image.md) - [D3力导向布局 D3Force](/zh/manual/layout/D3ForceLayout.md) - [网格线 GridLine](/zh/manual/plugin/GridLine.md) - [缩放画布时固定元素大小 FixElementSize](/zh/manual/behavior/FixElementSize.md) - [矩形节点 Rect](/zh/manual/element/node/Rect.md) - [Extension - 扩展](/zh/manual/graph/extension.md) - [Dagre 布局](/zh/manual/layout/DagreLayout.md) - [历史记录 History](/zh/manual/plugin/History.md) - [聚焦元素 FocusElement](/zh/manual/behavior/FocusElement.md) - [五角形节点 Star](/zh/manual/element/node/Star.md) - [生态树 Dendrogram](/zh/manual/layout/DendrogramLayout.md) - [轮廓包围 Hull](/zh/manual/plugin/Hull.md) - [悬停激活 HoverActivate](/zh/manual/behavior/HoverActivate.md) - [三角形节点 Triangle](/zh/manual/element/node/Triangle.md) - [鱼骨布局 Fishbone](/zh/manual/layout/Fishbone.md) - [图例 Legend](/zh/manual/plugin/Legend.md) - [套索选择 LassoSelect](/zh/manual/behavior/LassoSelect.md) - [自定义节点](/zh/manual/element/node/custom-node.md) - [ForceAtlas2 力导向布局](/zh/manual/layout/ForceAtlas2Layout.md) - [小地图 Minimap](/zh/manual/plugin/Minimap.md) - [优化视口变换 OptimizeViewportTransform](/zh/manual/behavior/OptimizeViewportTransform.md) - [使用 React 定义节点](/zh/manual/element/node/react-node.md) - [常见问题](/zh/manual/faq.md) - [Force 力导向布局](/zh/manual/layout/ForceLayout.md) - [对齐线 Snapline](/zh/manual/plugin/Snapline.md) - [滚动画布 ScrollCanvas](/zh/manual/behavior/ScrollCanvas.md) - [参与贡献](/zh/manual/contribute.md) - [使用 Vue 定义节点](/zh/manual/element/node/vue-node.md) - [Fruchterman 力导向布局](/zh/manual/layout/FruchtermanLayout.md) - [时间条 Timebar](/zh/manual/plugin/Timebar.md) - [网格布局 Grid](/zh/manual/layout/GridLayout.md) - [标题 Title](/zh/manual/plugin/Title.md) - [工具栏 Toolbar](/zh/manual/plugin/Toolbar.md) - [自定义交互](/zh/manual/behavior/custom-behavior.md) - [缩进树 Indented](/zh/manual/layout/IndentedLayout.md) - [提示框 Tooltip](/zh/manual/plugin/Tooltip.md) - [高维数据降维布局 MDS](/zh/manual/layout/MdsLayout.md) - [水印 Watermark](/zh/manual/plugin/Watermark.md) - [脑图树 Mindmap](/zh/manual/layout/MindmapLayout.md) - [径向布局 Radial](/zh/manual/layout/RadialLayout.md) - [随机布局 Random](/zh/manual/layout/RandomLayout.md) - [自定义插件](/zh/manual/plugin/custom-plugin.md) - [蛇形布局 Snake](/zh/manual/layout/Snake.md) - [自定义布局](/zh/manual/layout/custom-layout.md) ## 中文示例 - [LP 自动聚类](/zh/examples/algorithm/case/label-propagation.md) - [LOUVAIN 自动聚类](/zh/examples/algorithm/case/louvain.md) - [图模式匹配](/zh/examples/algorithm/case/pattern-matching.md) - [最短路径](/zh/examples/algorithm/case/shortest-path.md) - [组合展开/收起](/zh/examples/animation/basic/combo-collapse-expand.md) - [入场动画](/zh/examples/animation/basic/enter.md) - [边路径入场](/zh/examples/animation/basic/enter-edge-path-in.md) - [退场动画](/zh/examples/animation/basic/exit.md) - [更新动画](/zh/examples/animation/basic/update.md) - [蚂蚁线](/zh/examples/animation/persistence/ant-line.md) - [呼吸效果](/zh/examples/animation/persistence/breathing-circle.md) - [飞行标记](/zh/examples/animation/persistence/fly-marker.md) - [涟漪效果](/zh/examples/animation/persistence/ripple-circle.md) - [视口旋转](/zh/examples/animation/viewport/rotate.md) - [视口平移](/zh/examples/animation/viewport/translate.md) - [视口缩放](/zh/examples/animation/viewport/zoom.md) - [智能标签控制](/zh/examples/behavior/auto-adapt-label/basic.md) - [拖拽画布](/zh/examples/behavior/canvas/drag.md) - [拖拽缩放画布时隐藏元素](/zh/examples/behavior/canvas/optimize.md) - [滚动和缩放画布](/zh/examples/behavior/canvas/scroll-and-zoom.md) - [XY 轴滚动](/zh/examples/behavior/canvas/scroll-xy.md) - [Y 轴滚动](/zh/examples/behavior/canvas/scroll-y.md) - [缩放画布](/zh/examples/behavior/canvas/zoom.md) - [展开/收起](/zh/examples/behavior/combo/basic.md) - [展开/收起的触发方式](/zh/examples/behavior/combo/collapse-expand.md) - [创建组合间连边](/zh/examples/behavior/create-edge/between-combos.md) - [通过点击创建边](/zh/examples/behavior/create-edge/by-click.md) - [通过拖拽创建边](/zh/examples/behavior/create-edge/by-drag.md) - [自定义边样式](/zh/examples/behavior/create-edge/custom-edge-style.md) - [缩放过程中动态调整标签的最大长度](/zh/examples/behavior/fix-element-size/autosize-label.md) - [缩放过程中字号保持](/zh/examples/behavior/fix-element-size/fix-font-size.md) - [缩放过程中固定选中元素](/zh/examples/behavior/fix-element-size/fix-size.md) - [点击聚焦](/zh/examples/behavior/focus/basic.md) - [高亮相邻节点](/zh/examples/behavior/highlight-element/activate-relations.md) - [高亮元素](/zh/examples/behavior/highlight-element/basic.md) - [定制参数](/zh/examples/behavior/highlight-element/config-params.md) - [指定图形响应事件](/zh/examples/behavior/inner-event/basic.md) - [框选](/zh/examples/behavior/select/brush.md) - [框选组合](/zh/examples/behavior/select/brush-combo.md) - [点选](/zh/examples/behavior/select/click.md) - [拉索选择](/zh/examples/behavior/select/lasso.md) - [更新标签](/zh/examples/behavior/update-label/update.md) - [圆形](/zh/examples/element/combo/circle.md) - [矩形](/zh/examples/element/combo/rect.md) - [额外按钮](/zh/examples/element/custom-combo/extra-button.md) - [自定义箭头](/zh/examples/element/custom-edge/custom-arrow.md) - [自定义路径](/zh/examples/element/custom-edge/custom-path.md) - [额外标签](/zh/examples/element/custom-edge/extra-label.md) - [G2 活动图](/zh/examples/element/custom-node/g2-activity-chart.md) - [G2 柱状图](/zh/examples/element/custom-node/g2-bar-chart.md) - [React 节点](/zh/examples/element/custom-node/react-node.md) - [React 节点 身份证](/zh/examples/element/custom-node/reactnode-idcard.md) - [箭头](/zh/examples/element/edge/arrows.md) - [三次贝塞尔曲线](/zh/examples/element/edge/cubic.md) - [三次贝塞尔曲线-水平](/zh/examples/element/edge/horizontal-cubic.md) - [直线](/zh/examples/element/edge/line.md) - [曲线自环边](/zh/examples/element/edge/loop-curve.md) - [嵌套自环边](/zh/examples/element/edge/loop-nested.md) - [折线自环边](/zh/examples/element/edge/loop-polyline.md) - [折线-带控制点](/zh/examples/element/edge/polyline.md) - [正交线](/zh/examples/element/edge/polyline-orth.md) - [正交线-带控制点](/zh/examples/element/edge/polyline-orth-with-cps.md) - [二次贝塞尔曲线](/zh/examples/element/edge/quadratic.md) - [三次贝塞尔曲线-垂直](/zh/examples/element/edge/vertical-cubic.md) - [背景颜色](/zh/examples/element/label/background.md) - [复制](/zh/examples/element/label/copy.md) - [文本省略](/zh/examples/element/label/ellipsis.md) - [文本换行](/zh/examples/element/label/word-wrap.md) - [3D 节点](/zh/examples/element/node/3d-node.md) - [圆形](/zh/examples/element/node/circle.md) - [菱形](/zh/examples/element/node/diamond.md) - [甜甜圈](/zh/examples/element/node/donut.md) - [椭圆](/zh/examples/element/node/ellipse.md) - [六边形](/zh/examples/element/node/hexagon.md) - [HTML节点](/zh/examples/element/node/html.md) - [图片](/zh/examples/element/node/image.md) - [连接桩](/zh/examples/element/node/port.md) - [矩形](/zh/examples/element/node/rect.md) - [圆角矩形](/zh/examples/element/node/rounded-rect.md) - [星形](/zh/examples/element/node/star.md) - [三角形](/zh/examples/element/node/triangle.md) - [3D大数据](/zh/examples/feature/default/3d-massive.md) - [精简太阳系](/zh/examples/feature/default/lite-solar-system.md) - [主题切换](/zh/examples/feature/default/theme.md) - [信息密度](/zh/examples/feature/default/unicorns-investors.md) - [基本 Circular 布局](/zh/examples/layout/circular/basic.md) - [按照节点度数排序](/zh/examples/layout/circular/degree.md) - [分割环形布局](/zh/examples/layout/circular/division.md) - [螺旋线布局](/zh/examples/layout/circular/spiral.md) - [ComboCombined 组合布局](/zh/examples/layout/combo-layout/combo-combined.md) - [紧凑树](/zh/examples/layout/compact-box/basic.md) - [径向布局](/zh/examples/layout/compact-box/radial.md) - [从上向下布局](/zh/examples/layout/compact-box/vertical.md) - [Concentric 同心圆布局](/zh/examples/layout/concentric/basic.md) - [弧线图](/zh/examples/layout/custom/arc.md) - [二分图布局](/zh/examples/layout/custom/bi-graph.md) - [Dagre 流程图](/zh/examples/layout/dagre/antv-dagre.md) - [带有 Combo 的流程图](/zh/examples/layout/dagre/antv-dagre-combo.md) - [Dagre.js 布局](/zh/examples/layout/dagre/dagre.md) - [生态树](/zh/examples/layout/dendrogram/basic.md) - [径向布局](/zh/examples/layout/dendrogram/radial.md) - [垂直布局](/zh/examples/layout/dendrogram/vertical.md) - [Fishbone 鱼骨布局](/zh/examples/layout/fishbone/basic.md) - [3D 力导向布局](/zh/examples/layout/force-directed/3d-force.md) - [Force Atlas 2](/zh/examples/layout/force-directed/atlas2.md) - [力导向气泡图](/zh/examples/layout/force-directed/bubbles.md) - [弹性碰撞效果](/zh/examples/layout/force-directed/collision.md) - [D3 力导向布局](/zh/examples/layout/force-directed/d3-force.md) - [固定被做拽节点](/zh/examples/layout/force-directed/drag-fixed.md) - [Force 聚类](/zh/examples/layout/force-directed/force.md) - [定制不同节点的参数](/zh/examples/layout/force-directed/functional-params.md) - [网格效果](/zh/examples/layout/force-directed/mesh.md) - [力导向布局防止节点重叠](/zh/examples/layout/force-directed/prevent-overlap.md) - [基本 Fruchterman 布局](/zh/examples/layout/fruchterman/basic.md) - [Fruchterman 聚类布局](/zh/examples/layout/fruchterman/cluster.md) - [使用 GPU 加速](/zh/examples/layout/fruchterman/run-in-gpu.md) - [使用 Web-worker](/zh/examples/layout/fruchterman/run-in-web-worker.md) - [Grid 网格布局](/zh/examples/layout/grid/basic.md) - [子节点自动分布](/zh/examples/layout/indented/auto-side.md) - [自定义子节点分布](/zh/examples/layout/indented/custom-side.md) - [子节点左侧分布](/zh/examples/layout/indented/left-side.md) - [首子节点不换行](/zh/examples/layout/indented/no-drop-cap.md) - [子节点右侧分布](/zh/examples/layout/indented/right-side.md) - [基本 MDS 布局](/zh/examples/layout/mds/basic.md) - [数据动态切换](/zh/examples/layout/mechanism/change-data.md) - [布局切换](/zh/examples/layout/mechanism/switch.md) - [子节点自动分布](/zh/examples/layout/mindmap/auto-side.md) - [自定义子节点分布](/zh/examples/layout/mindmap/custom-side.md) - [子节点左侧分布](/zh/examples/layout/mindmap/left-side.md) - [子节点右侧分布](/zh/examples/layout/mindmap/right-side.md) - [基本 Radial 辐射布局](/zh/examples/layout/radial/basic.md) - [排序聚类](/zh/examples/layout/radial/cluster-sort.md) - [防止节点重叠的非严格辐射布局](/zh/examples/layout/radial/non-strict-prevent-overlap.md) - [防止节点重叠的严格辐射布局](/zh/examples/layout/radial/strict-prevent-overlap.md) - [基本 Snake 布局](/zh/examples/layout/snake/basic.md) - [自定义间距的 Snake 布局](/zh/examples/layout/snake/gutter.md) - [子图布局](/zh/examples/layout/sub-graph/basic.md) - [约 20000 元素](/zh/examples/performance/massive-data/20000.md) - [5000+ 元素](/zh/examples/performance/massive-data/5000.md) - [60000+ 元素](/zh/examples/performance/massive-data/60000.md) - [背景图片](/zh/examples/plugin/background/background.md) - [用气泡集包裹节点集](/zh/examples/plugin/bubble-sets/basic.md) - [上下文菜单](/zh/examples/plugin/contextmenu/basic.md) - [边绑定](/zh/examples/plugin/edge-bundling/basic.md) - [边过滤镜](/zh/examples/plugin/edge-filter-lens/basic.md) - [鱼眼放大镜](/zh/examples/plugin/fisheye/basic.md) - [自定义鱼眼放大镜](/zh/examples/plugin/fisheye/custom.md) - [全屏展示](/zh/examples/plugin/fullscreen/basic.md) - [画布网格](/zh/examples/plugin/grid-line/basic.md) - [撤销重做](/zh/examples/plugin/history/basic.md) - [用轮廓包裹节点集合](/zh/examples/plugin/hull/basic.md) - [默认图例](/zh/examples/plugin/legend/basic.md) - [点击图例](/zh/examples/plugin/legend/click.md) - [图例项样式](/zh/examples/plugin/legend/style.md) - [小地图](/zh/examples/plugin/minimap/basic.md) - [支持自动吸附](/zh/examples/plugin/snapline/autosnap.md) - [对齐线](/zh/examples/plugin/snapline/basic.md) - [图表模式](/zh/examples/plugin/timebar/chart.md) - [时间模式](/zh/examples/plugin/timebar/time.md) - [工具栏](/zh/examples/plugin/toolbar/basic.md) - [自定义工具栏](/zh/examples/plugin/toolbar/custom.md) - [提示框](/zh/examples/plugin/tooltip/basic.md) - [点击触发](/zh/examples/plugin/tooltip/click.md) - [鼠标移入和点击同一元素时显示不同的提示框](/zh/examples/plugin/tooltip/dual.md) - [重复图片](/zh/examples/plugin/watermark/repeat.md) - [文本水印](/zh/examples/plugin/watermark/text.md) - [英格兰阵容](/zh/examples/scene-case/default/battle-array.md) - [资金流向图](/zh/examples/scene-case/default/fund-flow.md) - [音乐节](/zh/examples/scene-case/default/music-festival.md) - [组织架构](/zh/examples/scene-case/default/organization-chart.md) - [系统性能诊断流程图](/zh/examples/scene-case/default/performance-diagnosis-flowchart.md) - [S 型流程图](/zh/examples/scene-case/default/snake-flow-diagram.md) - [子图](/zh/examples/scene-case/default/sub-graph.md) - [猫咪喜好](/zh/examples/scene-case/default/why-do-cats.md) - [克服拖延症(决策型鱼骨图)](/zh/examples/scene-case/tree-graph/anti-procrastination-fishbone.md) - [缩进树](/zh/examples/scene-case/tree-graph/indented-tree.md) - [思维导图](/zh/examples/scene-case/tree-graph/mindmap.md) - [分析产品收益(原因型鱼骨图)](/zh/examples/scene-case/tree-graph/product-fishbone.md) - [径向紧凑树](/zh/examples/scene-case/tree-graph/radial-compact-tree.md) - [径向生态树](/zh/examples/scene-case/tree-graph/radial-dendrogram.md) - [捆绑模式](/zh/examples/transform/process-parallel-edges/bundle.md) - [合并模式](/zh/examples/transform/process-parallel-edges/merge.md)