g6/packages/site/examples/net/comboLayout/index.en.md

13 lines
668 B
Markdown
Raw Normal View History

2023-02-02 10:31:36 +08:00
---
title: Combo Related Layout
order: 10
---
_New feature of V4.6_ Designed for graph with combos. Support configuring the layout for items inside a combo and the layout for the outer combos and nodes.
_New feature of V3.5._ Combo Force is designed for the graph with combos based on classical force directed layout algorith. It modifies the forces between nodes according to their combo infomation to achieve a final result with clustering nodes inside each combo and no overlappings.
## Usage
We suggest to use `'comboCombined'` or `'comboForce'` for the graph with combos. Other layouts in G6 are also availabel, but they do not consider the combo infomation.