dva-gui icon indicating copy to clipboard operation
dva-gui copied to clipboard

data flow view

Open ChrisFan opened this issue 9 years ago • 5 comments

  • [x] mv* flow
    • [x] component: dispatch a new action
    • [x] component: delete
    • [x] component: create
    • [x] model: delete
    • [x] model: create
  • [ ] action flow
    • [ ] effect: create/update/delete
    • [ ] reducer: create/update/delete
    • [ ] better action flow layout
    • [x] action flow route/page & components/models filtering

ChrisFan avatar Oct 19 '16 06:10 ChrisFan

#14 create/delete of component

ChrisFan avatar Oct 22 '16 15:10 ChrisFan

#15 create/delete models #16 add component dispatch

ChrisFan avatar Oct 24 '16 09:10 ChrisFan

#23 components/models filtering

ChrisFan avatar Oct 28 '16 06:10 ChrisFan

+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|                                                                                                                                                                                       |
|                                                                                                                                                                                       |
|      +---------------------------+       +----------------------------+                                                                                                 +---------+   |
|      | action                    |       |action                      |                                                                                                 |         |   |
|  +--->   .from.contain(component)|  +---->  .from.contain(otherEffect)+------------+------------------------------------------------------------------------------------+ reducer |   |
|  |   |                           |  |    |  &&notContain(component)   |            |                                                                                    |         |   |
|  |   +---------------------------+  |    +----------------------------+            |                                                                                    +---------+   |
|  |                                  |                                              |                                                                                                  |
|  |                                  |                                              |                                                                                                  |
|  |                                  |                                              |                                                                                                  |
|  |                                  |                                      +-------v-------+                                                                                          |
|  |                                  +--------------------------------------+               |                                                                                          |
|  |                                                                         | effect.effect |                                                                                          |
|  +-------------------------------------------------------------------------+   .noTo()     |                                                                                          |
|                                                                            |               |                                                                                          |
|                                                                            +------+--------+                                                                                          |
|                                                                                   |             +----------------------------+                                                        |
|                                                                                   |             |                            |                                           +---------+  |
|                                                                                   |             | action                     |                                           |         |  |
|                                                                                   +------------->   .notContain(component)   +--------------------+----------------------> reducer |  |
|                                                                                                 |   .notContain(otherEffect) |                    |                      |         |  |
|                                                                                                 |                            |                    |                      +---------+  |
|                                                                                                 +----------------------------+   +----------------v------------------+                |
|                                                                                                                                  |                                   |                |
|                                                                                                                                  | effect                            |                |
|                                                                                                                                  |   .action.notContain(component)   |                |
|                                                                                                                                  |   .action.notContain(otherEffect) |                |
|                                                                                                                                  |                                   |                |
|                                                                                                                                  +-----------------------------------+                |
|                                                                                                                                                                                       |
|                                                                                                                                                                                       |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

jaredleechn avatar Dec 29 '16 06:12 jaredleechn

@ChrisFan 栅格比例看情况吧,感觉 effct 到 ruducer 中间内容可能有点多

jaredleechn avatar Dec 29 '16 06:12 jaredleechn