mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 11:48:29 +08:00
b51a86e730
* refactor(runtime): rename dataController in context to model * feat(utils): add isVisible and update uitls * refactor(layout): update layout types and register built-in layouts * feat(utils): add deduplicate util * refactor(utils): update inferDefaultValue to infer position * refactor(element): add updateNodeLikePosition method to update position immediately * feat(runtime): data controller support call methods without trace * fix(animation): it's neccessary to reserve commonEffectTiming config * fix(test): fix test case issue * feat(utils): add tree data converter utils * refactor(runtime): update element controller, add get element api, and updateByLayoutResult method * feat(utils): add layout utils * refactor(layout): add built-in layouts * refactor(elements): add built-in edges * feat(runtime): add layout controller * test(layout): add and update test snapshot * test: update test case * refactor(utils): remove transformGraphDataToTreeData * fix: fix issue occured in rebase * refactor(layout): add built-in layout registration * refactor(spec): support config global animation * test(runtime): update element controller snapshots * fix(elements): fix issue that edge lack of default control points * refactor(runtime): support tree layout * fix(elements): fix issue that unexpect loop edge infer * fix(runtime): fix layout error, support global animation, optimize updateNodeLikePosition method * test(layout): add static layout test case * refactor(test): update dendrogram snapshot * fix(utils): fix pickLayoutResult test case * refactor(types): add positions type * refactor(runtime): optimize element updateNodeLikePosition perf * fix(test): fix test case types issue * test(demo): update test demos * refactor(utils): modify transformTreeDataToGraphData default getNodeData * refactor(runtime): data controller provide getParentData API * refactor(runtime): rename sneak to silence * refactor(layout): add comment * refactor(registry): use console.error instead of throw when plugin duplicated |
||
---|---|---|
.. | ||
g6 | ||
g6-plugin-map-view | ||
react-node | ||
site |