Commit Graph

5080 Commits

Author SHA1 Message Date
Aaron
446c890c1e
chore: update tab and postinstall script (#5828)
* chore: update tab and postinstall script

* chore: update tip messages
2024-06-06 11:06:52 +08:00
Yuxin
49398ddecc
feat: add fullscreen plugin (#5825)
* feat: add fullscreen plugin

* fix: fix cr issues

* docs: add alias
2024-06-06 10:19:35 +08:00
Aaron
af812a8411
fix(plugins): fix error when members is empty (#5819) 2024-06-06 10:00:45 +08:00
Aaron
0a2fccfbf2
docs(site): adjust algorithm demos (#5820) 2024-06-06 10:00:33 +08:00
Aaron
6d89feb085
refactor: adjust by designer review (#5826)
* fix(utils): fix issue when getAllPorts get undefined node

* refactor(utils): adjust simple arrow

* fix: fix error when get connection point

* refactor(theme): adjust combo style

* style(behaviors): adjust brush-select style

* refactor(elements): use round corner arrows

* refactor(plugins): timebar support config padding

* test: update test snapshots and cases
2024-06-06 09:59:57 +08:00
Aaron
87cea2dfe1
refactor(behaviors): drag-element can set pointer cursor (#5827)
* fix: emit event type

* refactor(behaviors): drag-element can set pointer cursor

* refactor(behaviors): adjust unbind logic

* fix(behavior): adjust setCursor value logic
2024-06-06 09:59:43 +08:00
Aaron
c1be9ab52a
chore: update version (#5817)
* chore: update version

* chore: add site build script

* chore(site): update site case

* chore(site): adjust cases

* chore(site): disable api doc
2024-06-05 15:09:16 +08:00
Yuxin
472fa89920
refactor(element): adjust node and edge style; add badge to BaseEdge (#5806)
* refactor(element): adjust node and edge

* test: update snapshots and ci issues

* fix: fix cr issue
2024-06-05 11:25:03 +08:00
Aaron
a5403b37a0
fix: fix missing refactor event (#5816) 2024-06-04 21:32:50 +08:00
Yuxin
e932c0ac7b
feat: add getElementData api (#5814) 2024-06-04 21:29:58 +08:00
Aaron
3f4810d9ae
docs(site): update docs (#5815) 2024-06-04 21:29:36 +08:00
Aaron
fe2f6346c2
refactor(elements): set className instead of id of upsert (#5813)
* refactor(elements): set className instead of id of upsert

* test: update snapshots

* refactor(elements): remove useless logic

* fix: fix types
2024-06-04 19:12:19 +08:00
Aaron
13ce857a1a
refactor: adjust export event (#5812) 2024-06-04 13:56:13 +08:00
Aaron
8934714cce
refactor(elements): remove getKey method on base-node (#5811) 2024-06-04 13:56:03 +08:00
Aaron
eca59ed3ea
fix(elements): fix edge arrow cannot display (#5810)
* fix(elements): fix edge arrow cannot display

* test: update snapshots

* refactor(elements): adjust logic
2024-06-04 11:36:48 +08:00
Aaron
3b28a239e6
chore: update deps version (#5807) 2024-06-04 11:02:00 +08:00
Aaron
38b3e482ab
docs(demo): adjust site demo (#5771) 2024-06-03 17:44:00 +08:00
Aaron
66d9812860
chore: update version (#5805) 2024-06-03 17:42:20 +08:00
Yuxin
3d1350b3ab
feat: click element behavior support setting neighborSelectedState (#5798)
* feat: click element behavior support setting neighborSelectedState

* refactor: rename to click-select and hover-activate behavior
2024-06-03 17:21:23 +08:00
Aaron
2cea1bcc01
docs: update docs (#5804)
* docs(site): add 3d manual, update feature

* chore: update dumi-theme-antv version

* docs: update docs
2024-06-03 17:19:47 +08:00
Aaron
133bcc40ea
refactor(layout): export d3-force-3d from 3d extension (#5803)
* refactor(layout): export d3-force-3d from 3d extension

* refactor(layout): rename d3force to d3-force
2024-06-03 17:12:46 +08:00
Aaron
576806e9ce
docs(site): add demos (#5802) 2024-06-03 14:46:38 +08:00
Yuxin
ba768717bc
feat: add node label offset config (#5774)
* feat: add node label offset config

* fix: fix ci
2024-06-03 13:01:41 +08:00
Aaron
1c9fb182f7
perf: optimize element performance (#5800)
* perf: remove util isType usage

* fix(plugins): fix background plugin

* fix: fix autoFit not effect after draw

* test: add test case to draw 20000 elements

* feat(utils): add createGeometry util

* refactor(3d): optimize massive shape performance

* test: add massive 3d elements case
2024-06-03 11:21:33 +08:00
Aaron
59e8bcd6a0
perf: optimize process performance (#5792)
* perf: optimize data perf

* feat(utils): add mergeOptions util

* refactor(elements): use mergeOptions replace deepMix

* perf(runtime): optimize element perf
2024-05-31 15:15:24 +08:00
Aaron
d7a138ff8c
chore: update version to beta.38 (#5791)
* chore: update version to beta.38

* chore: update react version
2024-05-30 19:22:27 +08:00
Aaron
e7fb595bb5
fix: fix issue that arrow cannot update (#5790) 2024-05-30 18:56:39 +08:00
Aaron
0982c1e105
fix: fix exceptional canvas options when init in node env (#5788) 2024-05-30 14:07:46 +08:00
Aaron
04239f8858
fix: fix react node destruction logic (#5787)
* fix: fix unexpect drag-canvas update

* refactor(elements): define base-element

* fix: fix html and react node destroy logic

* test: update test case
2024-05-30 11:21:43 +08:00
Aaron
320c063977
fix: fix jest config (#5786) 2024-05-29 21:10:16 +08:00
Yuxin
ac0490f38c
fix: fix the conflict issue of hover-element and drag-element (#5762)
* fix: fix behaviors collision

* fix: add script to generate doc at local

* fix: fix cr issue
2024-05-23 17:35:23 +08:00
hustcc
65802cbcd8
feat: add plugin background (#5761)
* feat: add plugin background

* chore: update demo with background

* chore: fix ci

* test: add test case for background plugin

* chore: fix cr
2024-05-23 11:59:43 +08:00
Aaron
b7ccbcdc2b
feat: support tree expand collapse (#5755)
* test: rename test case

* refactor(behaviors): adjust collapse-expand

* feat(utils): add isCollapsed util

* fix(runtime): avoid unexcepted combo refresh when update node data

* refactor(elements): edge support loop config

* feat(runtime): support simulate layout

* feat(runtime): support collapse and expand tree node

* test(behaviors): add collapse expand node test case

* refactor(runtime): rename collapse expand api name

* refactor: remove collapseOrigin

* refactor(animation): adapat combo animation
2024-05-22 13:50:47 +08:00
Yuxin
68ee8e37f5
fix: fix composite shapes animation (#5759) 2024-05-22 10:23:54 +08:00
Yuxin
3b1bef3dd2
docs: iconfont (#5757) 2024-05-22 10:22:49 +08:00
Yuxin
a31abe4c9e
feat: add scaffold for creating G6 extension (#5749)
* feat: add scaffold for creating G6 extension
2024-05-20 20:16:07 +08:00
Aaron
716cb92084
fix: fix demos (#5754)
* fix: fix unexpected update style

* docs(demos): update demos

* fix(runtime): fix attributes assign
2024-05-20 15:18:21 +08:00
Aaron
49e51bbf39
refactor: adjust animation logic (#5751)
* refactor(transforms): transforms support receive draw context

* refactor(elements): edge update key when onframe

* refactor(elements): node/combo update key when onframe, adjust childrenNode type

* refactor(animation): adjust animation type definition

* feat(utils): add themeOf util

* feat(utils): add getElementAnimationOptions animationOf, remove unused utils

* refactor(runtime): extract animation logic into controller

* refactor(runtime): adapt new animation types

* refactor(animations): adjust animation executor

* refactor: adpat draw method

* chore: adjust toMatchSVGSnapshot

* refactor: adjust animations

* test: update test case and snapshots
2024-05-20 11:04:49 +08:00
Aaron
66a8f5be7d
docs(demo): add theme switch demo (#5752)
* fix: fix setBackground not effect

* docs(demo): add theme switch demo
2024-05-20 11:00:36 +08:00
hustcc
6e85c52991
chore: add missing dev deps (#5748) 2024-05-17 19:43:47 +08:00
Yuxin
77dbba54e6
feat: add parallel edge demo (#5741)
* refactor: add get-edge-actual-ends transform;fix: refine process-parellel-edges

* feat: add parallel edge demo

* feat: add badge offsetX/offsetY

* refactor: change ProcedureData class to type
2024-05-17 19:40:19 +08:00
Aaron
08c6066519
chore: update g6 and react version (#5747) 2024-05-17 10:11:49 +08:00
Aaron
e91c817bd7
demo: add euro cup demo (#5746)
* fix(graph): fix some options not effect after setOptions

* fix: fix issue that backgound cannot display

* docs: add euro cup demo

* fix: fix issue that html node cannot correct fit view

* chore: add deps
2024-05-16 21:07:32 +08:00
Wang Hongfei
aef5f591ad
feat: add docs to some layouts (#5744)
* feat: add docs to some layouts

---------

Co-authored-by: whf01206399 <whf01206399@antgroup.com>
2024-05-16 19:20:06 +08:00
Aaron
e907819be0
refactor: optimize memory usage during testing (#5745)
* refactor(registry): register same object won't log error

* chore: set --max-old-space-size to 1024

* refactor: adjust demo export
2024-05-16 16:34:27 +08:00
Aaron
2109e25895
chore: update 3d and react publish config (#5742)
* chore: update 3d and react publish config

* chore: update g6 version to beta.36
2024-05-16 14:19:30 +08:00
Wang Hongfei
2f8365bfd6
feat: add corresponding English docs (#5738)
* feat: add corresponding English docs
---------

Co-authored-by: whf01206399 <whf01206399@antgroup.com>
2024-05-16 10:13:08 +08:00
Yuxin
f4d530320f
fix: fix combo connection misalignment problem (#5740)
* fix: fix connection misalignment problem

* test: update snapshots
2024-05-15 15:11:49 +08:00
xiaoiver
36e39e5582
fix: update to latest @antv/g (#5702)
* fix: use transform instead of x/y/z

* fix: use transform instead of x/y in label

* chore: remove site docs apis

* chore: remove incorrect snapshots

* fix: image & icon node

* fix: update to latest @antv/component

* fix: combo & plugin bubble set

* chore: update behavior snapshots

* fix: edge loop curve & combo

* chore: unit tests

* fix: animation

* chore: force update snapshots

* chore: update lasso snapshots

* chore: update deps

* chore: update to latest g & g2 deps
2024-05-15 13:00:22 +08:00
Aaron
66aa63c9b2
docs(site): update doc hyperlinks (#5737) 2024-05-14 16:05:41 +08:00