Commit Graph

457 Commits

Author SHA1 Message Date
Yanyan Wang
875a9eb39b
feat: unified datachange from changeData, addData, updateData, and removeData; feat: item definition and first drawing (#4259)
* feat: unified datachange from changeData, addData, updateData, and removeData; feat: item definition and first drawing

* feat: update canvas while addData; feat: update canvas while updateData (node); chore: unified additems, removeitems, updateitems to be itemchange hook

* feat: node and edge updating and drawing

* chore: neaten

* feat: draw and update labels for node and edge

* feat: icon for edge; feat: custom node and edge and register to lib

* feat: state related API for graph and item

* chore: update notes

* feat: state styles for item

* chore: update tests
2023-03-01 14:21:55 +08:00
Yanyan Wang
bb82593eb8
feat: implement add remove and update API for graph data module (#4255)
* feat: implement add remove and update API for graph data module

* chore: remove IItem INode IEdge and ICombo from input and output of API in  graph

* docs: udpate temporary graph api docs
2023-02-07 10:51:02 +08:00
Yanyan Wang
6880a3aad7
chore: packages refine for v5 (#4251) 2023-02-06 14:46:57 +08:00
Yanyan Wang
df112de066
chore: behavior type generic and test; chore: update notes; (#4243) 2023-02-02 10:44:55 +08:00
Yanyan Wang
dce8ec70b8 feat: hooks for graph; feat: data and interaction controllers for the… (#4189)
* feat: hooks for graph; feat: data and interaction controllers for these two types of extensions

* chore: format notes

* perf: types refine

* feat: graph behavior apis

* feat: item and its controller

* feat: init Node Edge and Combo item

* feat: init layoutm theme, extension controllers

* feat: init Graph class

* feat: add gymnastics for behavior

* chore: behavior type generic refine

* chore: refine

* feat: complete hooks list
2023-02-02 10:32:01 +08:00
Yanyan Wang
d4b91357e6 feat: add necessary types (#4182)
* feat: add necessary types

* feat: add combo data type

* feat: add animate attribute type to graph elements

* chore: format notes
2023-02-02 10:32:01 +08:00
Yanyan-Wang
3095544cdf chore: commit history cleaning 2023-02-02 10:31:36 +08:00