Aaron
7ff8004fe1
docs: update behavior examples ( #5729 )
...
* docs: update behavior examples
* chore: add ts-node to devDependencies
2024-05-13 14:50:21 +08:00
Aaron
352b5ba1c6
docs(site): update layout examples ( #5728 )
...
* refactor: adjust layout api and exports
* chore: update deploy actions
* docs(site): update layout examples
2024-05-13 10:27:15 +08:00
Aaron
454bc13e09
docs(site): update element examples ( #5727 )
...
* refactor(runtime): getElementDat -> getElementsDataByType, getElementsData -> getElementDataById
* fix(runtime): fix issue that unexpect edge ends
* chore: config site env
* docs(site): update element examples
2024-05-12 18:02:43 +08:00
Aaron
3659e7d1a0
fix(runtime): fix incorrect combo connect ( #5726 )
...
* refactor(runtime): getElementDat -> getElementsDataByType, getElementsData -> getElementDataById
* fix(runtime): fix issue that unexpect edge ends
2024-05-11 21:56:03 +08:00
Aaron
a0271bf2f1
docs(site): add animation examples ( #5724 )
...
* refactor(element): support disable animation in state animation
* chore: remove global.d.ts, update tsconfig
* refactor: update global script, add addPanel function
* docs: add animation examples
2024-05-10 21:50:34 +08:00
Yuxin
f2257fea88
fix: fix demo flex layout ( #5723 )
2024-05-10 19:24:01 +08:00
Yuxin
ef1eaf6a54
docs: add data api ( #5722 )
2024-05-10 18:03:04 +08:00
Yuxin
ad30bd97d2
docs: add element api interactive demos ( #5719 )
...
* docs: add element api interactive demos
* fix: fix cr issues
* refactor: adjust locales in docs
2024-05-10 14:29:40 +08:00
Aaron
80ed0b9cc3
docs: perfect manual docs ( #5710 )
2024-05-10 11:17:08 +08:00
Wang Hongfei
07474e024d
feat(site): add algorithm/gaddi demo ( #5711 )
...
* feat: add algorithm/gaddi demo
* feat: add algorithm/shortestPath demo
* feat: adjust examples/algorithm structure & add label-propagation demo
* feat: add algorithm/louvain demo
---------
Co-authored-by: whf01206399 <whf01206399@antgroup.com>
2024-05-09 21:25:49 +08:00
Yuxin
07c77eeb2d
docs: impove behavior comments and add api interactive demos ( #5715 )
...
* docs: add reference page title
* docs: refine behavior api interactive demos
2024-05-09 20:29:40 +08:00
Aaron
1cee4a55da
fix: fix export and site ( #5713 )
...
* fix(behaviors): remove circular dependency
* chore(site): lock version of dumi up to 2.2.x
2024-05-09 11:29:50 +08:00
Yuxin
529a5ad246
refactor: focus-element, lasso-select, brush-select behavior ( #5707 )
...
* refactor: focus-element behavior
* refactor: lasso select, brush select
* fix: remove unnecessary utils
2024-05-08 17:04:47 +08:00
Yuxin
f0cbeba90a
docs: plugin api docs and demo ( #5703 )
...
* refactor: modify plugin comments
* docs: add plugin demos
* fix: fix ci
2024-05-07 20:43:47 +08:00
Aaron
45750f7790
docs: add documentation ( #5695 )
...
* refactor(site): adjust script
* feat(site): add script that can sort docs in specific folder
* docs: remove apis folder
* docs: add getting-started for chinese version
* docs: add core-concept for chinese version
* docs: add upgrade for chinese version
* docs: remove quick-start
* refactor(site): add createGraph global utils
* docs: add extension in core concept
2024-05-06 10:52:18 +08:00
Yuxin
71fed76616
refactor: adjust element types ( #5693 )
...
* refactor: adjust types
* docs: add comments
* refactor: reorganize api directory structure
* docs: refine element docs
2024-04-30 15:42:11 +08:00
Yuxin
7cc8278fc1
feat(doc-pipeline): add scripts to generate element api docs ( #5685 )
...
* feat: generate edge api docs
* feat: generate node,combo style props docs
* refactor: doc pipeline
* docs: remove reference index.md
2024-04-29 17:13:33 +08:00
Frank William
9cf0677773
feat(plugins): add timebar ( #5666 )
...
* feat(plugins): add timebar
* refactor: adjust timebar component
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-28 17:00:01 +08:00
Aaron
acf90c103d
feat(docs): add clear script, adjust docs structure ( #5681 )
...
* feat(site): add script that clear generated docs
* chore: adjust docs structure
* style(docs): config style of summary tag
2024-04-26 10:43:15 +08:00
Yuxin
5028413d0f
chore: add auto-generated doc files to .gitignore ( #5679 )
...
* refactor: remove placeholder files
* chore: add auto-generated files to .gitignore
* feat: api method list support remarks tag
2024-04-25 16:17:41 +08:00
Yuxin
1dcbfee1b2
feat(doc-pipeline): add scripts to generate graph api docs ( #5678 )
...
* feat: add scripts to generate graph api docs
2024-04-25 12:50:23 +08:00
Yuxin
bfbade2541
feat: generate behavior/plugin api docs by code annotations ( #5669 )
...
* refactor: extract api
* feat: generate behavior api docs by code annotations
2024-04-24 15:33:33 +08:00
Aaron
45b21ebf4f
refactor: remove color usage ( #5675 )
2024-04-24 10:07:12 +08:00
Aaron
ea9cc6b4c0
docs: adjust docs structure, create docs template ( #5670 )
...
* docs: remove old docs
* docs: adjust example dir name
* feat: add script to create doc template
* docs: create site docs template
* docs: adjust api/element structure
* docs: adjust graph docs
* docs: adjust category naming
2024-04-23 15:56:29 +08:00
Yuxin
57317d49a3
feat: add BubbleSets plugin ( #5653 )
...
* refactor: extract contour shape
* feat: bubble sets
* test: add bubble-sets demo
2024-04-23 10:46:56 +08:00
Frank William
895955435d
feat(element): add donut ( #5645 )
...
* feat(element): add donut
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-19 10:58:13 +08:00
Yuxin
0c58b627dd
feat(transform): process parallel edges (bundle, merge) ( #5643 )
...
* feat: bundle parallel edges
* test: add parallel edge unit tests
* docs: add parallel edges site demo
* refactor: modify timing of clearing data change
* fix: fix hover parallel edges issue
* feat: merge parallel edges
* fix: incorrect arrow of merging parallel edges
2024-04-16 01:03:39 +08:00
Yuxin
fad00f57fc
feat: add click-element behavior ( #5636 )
...
* feat: add click-element behavior
* test: add click-element unit tests
* docs: add site demo
* test: update snapshots after deps update
* test: contextmenu unit test
2024-04-12 15:05:06 +08:00
Frank William
a0d6cfe7a5
feat(behaviors): add brush-select, add lasso-select ( #5623 )
...
* feat(behaviors): add brush-select
* feat(behaviors): add lasso-select/brush-select
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-04-12 14:03:07 +08:00
Yuxin
09a62abc38
feat: hull plugin (convex hull, concave hull) ( #5626 )
...
* feat: hull
* feat: hull label and dynamically change options
* feat: hull supports convex and concave hull
* docs: site demo
* test: add unit tests
* test: fix ci issues
* chore: update deps
* fix: fix cr issues
* test: contextmenu unit test
* test: update snapshots
2024-04-11 20:43:33 +08:00
Yuxin
62535be333
feat: history plugin ( #5605 )
...
* feat: base history plugin
* feat: mount history api to graph
* test: history unit and integration test
* refactor: simplify compute draw data
* test: update snapshots
* feat: history event emitter and site demo
2024-04-11 18:49:18 +08:00
Frank William
944ccda096
fix(behaviors): create-edge demo update ( #5624 )
...
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-04-07 17:12:27 +08:00
Frank William
84074e6a37
feat(behavior): add create-edge ( #5601 )
...
* feat(behavior): add create-edge
* refactor: rename edgeConfig to edgeStyle
* feat(behavior): create-edge add onCreate
* refactor(behaviors): adjust create edge
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-07 11:21:11 +08:00
Joel Alan
d0c3c7dbc5
feat: plugin legend ( #5593 )
...
* chore: rebase v5
* fix: resolve conversation
* ci: update snapshots
* refactor(plugin): update legend case and snapshots
---------
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-04-02 23:29:06 +08:00
Frank William
72c5e74611
feat(behavior): add click focus element(node/combo) ( #5595 )
...
* feat(behavior): add click focus element
---------
Co-authored-by: wb-xcf804241 <wb-xcf804241@alibaba-inc.com>
2024-03-28 13:16:44 +08:00
DonovanYe
f5ec528661
docs: fix typos in elements.zh.md and CONTRIBUTING.en-US.md ( #5598 )
...
* docs: fix typos in elements.zh.md
* docs: fix typos in CONTRIBUTING.en-US.md
2024-03-28 00:13:07 +08:00
hustcc
fff59f2027
feat: add toolbar plugin ( #5589 )
...
* feat: add type define of toolbar plugin
* feat: add toolbar plugin
* docs: add toolbar demo
* test: add test case
* chore: fix typo
* fix: remove insert-css
* chore: update test case
* chore: fix cr
2024-03-27 21:20:46 +08:00
Yuxin
5566f74fa2
feat: add hover-element behavior ( #5579 )
...
* feat: add hover-element behavior definition
* feat: add hover-element behavior
* test: add uts
* feat: add site demos
* feat: add unit test
* fix: cr issues
* fix: cr issues
* fix: cr issues
2024-03-25 20:50:20 +08:00
foolvip
f30e58da8e
feat: add hexagon node ( #5527 )
...
* feat: add hexagon node
* feat:add getHexagonPoints unit test
* feat: add hexagon demo to site
2024-03-25 11:09:28 +08:00
hustcc
b9d81ec02d
feat: add plugin contextmenu ( #5577 )
...
* feat: contextmenu class
* chore: update context menu options
* feat: show context menu
* feat: update context menu
* chore: rename to contextmenu
* chore: rename G6ElementEvent to ElementEvent
2024-03-22 19:03:35 +08:00
Joel Alan
ad2d2cf923
feat: tooltip plugin ( #5573 )
...
* feat: tooltip plugin
* fix: resolve conversation
* fix: resolve conversation
* ci: test coverage
* chore: enable elements to anable
* fix: demo
* fix: test
2024-03-22 18:00:13 +08:00
Aaron
f451672c7a
refactor: adapt antv dagre ( #5578 )
...
* refactor: adapt antv dagre
* chore: update @antv/layout version
* feat(layout): adapt dagrejs layout
* docs: add dagre demo
2024-03-22 16:35:34 +08:00
hustcc
74c19e903e
feat: add plugin watermark ( #5569 )
...
* chore: init type define
* fix: badge typo in readme
* feat: plugin watermark
* feat: add watmermark plugin
* test: add tc for watermark, but should skip it
* docs: add demos for watermark
* test: add tc for mock
* chore: fix cr
* test: use jest-canvas-mock make ci works
* chore: update demo
* docs: add case panel
* refactor: render watermark into div
* chore: update
2024-03-21 20:12:31 +08:00
Yuxin
776822740e
docs: add combo demos ( #5568 )
...
* docs: add combo demos
* docs: combo demos
2024-03-20 19:37:45 +08:00
Aaron
a0c131b0a7
feat: adapt combo, add drag-element / collapse-expand behaviors ( #5543 )
...
* refactor(runtime): merge into getChildrenData, getComboData, add get getAncestorsData
* refactor(runtime): move translate logic from graph to data controller
* feat(utils): add positionOf util
* refactor(runtime): adjust the order of drawing combos
* refactor(elements): sync combo position to model, adjust combo size calc
* refactor(utils): dfs provide depth info
* refactor(elements): combo sync position and zIndex
* feat(utils): add zIndexOf util
* refactor(runtime): refactor data/element controller to fit combo update
* test: assign graph into window.graph
* refactor(elements): combo use childrenData to get marker text
* refactor(elements): filter zIndex from graphicStyle
* feat(utils): add getSubgraphRelatedEdges util
* refactor(animation): add combo-collapse-expand animation
* refactor(runtime): add combo collapse and expand flow
* fix: fix issue in data controller and base-combo
* test: update test case and snapshots
* feat(behaviors): support click collapse-expand, drag-combo
* refactor: merge drag node and drag combo into drag element
* fix(behaviors): fix issue drag element between combo wont update
* test(behaviors): add drag-element test case and snapshots
* test: fix snapshot
* test: update test case and snapshots
* fix: fix format and types
* chore: adjust drag-node to drag element
2024-03-16 00:39:25 +08:00
Joel Alan
d36ae29416
test: compact box ( #5541 )
...
* test: compact box
* fix: resolve conversation
2024-03-15 23:36:23 +08:00
Joel Alan
7f2e6a58c4
test: layout mindmap ( #5540 )
...
* test: layout mindmap
* fix: type
* refactor: adjust demo and snapshots
---------
Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
2024-03-15 23:30:00 +08:00
Joel Alan
494779ce0b
test: layout dendrogram ( #5539 )
...
* test: layout dendrogram
* fix: resolve conversation
2024-03-15 23:22:26 +08:00
Aaron
87621a4793
refactor: adjust type definition ( #5545 )
...
* refactor: adjust type definition
* fix: fix graphlib type define
2024-03-15 23:07:32 +08:00
Yuxin
810f982719
feat: refine theme and add support background ( #5538 )
...
* refactor: support setting background
* docs: add theme demo
* test: update snapshots
* feat: palette field support callback
* test: update tests and snapshots
* fix: wordwrap set false
* fix: fix cr issues
* fix: animation field
* test: update test case and snapshots
2024-03-15 19:36:27 +08:00