You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[setDefaultEdgeType](detail#setdefaultedgetype)| Set the type of edge, i.e. set the type of linkage drawn directly by the user at the node.|
53
-
|[addEdge](detail#addedge)| Create an edge connecting two nodes. |
54
-
|[getEdgeDataById](detail#getedgedatabyid)| Get edge data by `id`. |
55
-
|[getEdgeModelById](detail#getedgemodelbyid)| Get the model of the edge based on the its `id`. |
56
-
|[getEdgeModels](detail#getedgemodels)| Get the model of the edge that satisfies the condition. |
57
-
|[changeEdgeId](detail#changeedgeid)| Modify the edge id. If a new id is not passed, one will be created internally automatically. |
58
-
|[changeEdgeType](detail#changeedgetype)| Switch type of the edge. |
59
-
|[deleteEdge](detail#deleteedge)| Delete an edge based on its id. |
60
-
|[deleteEdgeByNodeId](detail#deleteedgebynodeid)| Deletes an edge of the specified type, based on the start and end points of the edge, and can pass only one of them. |
61
-
|[getNodeEdges](detail#getnodeedges)| Get the model of all edges connected by the node. |
62
-
=======
63
51
|[setDefaultEdgeType](./detail/index.en-US.md#setdefaultedgetype)| Set the type of edge, i.e. set the type of linkage drawn directly by the user at the node.|
64
52
|[addEdge](./detail/index.en-US.md#addedge)| Create an edge connecting two nodes. |
65
53
|[getEdgeDataById](./detail/index.en-US.md#getedgedatabyid)| Get edge data by `id`. |
@@ -70,27 +58,11 @@ All node instance operations on the flowchart, as well as events, and behavioral
70
58
|[deleteEdge](./detail/index.en-US.md#deleteedge)| Delete an edge based on its id. |
71
59
|[deleteEdgeByNodeId](./detail/index.en-US.md#deleteedgebynodeid)| Deletes an edge of the specified type, based on the start and end points of the edge, and can pass only one of them. |
72
60
|[getNodeEdges](./detail/index.en-US.md#getnodeedges)| Get the model of all edges connected by the node. |
|[updateAttributes](detail#updateattributes)| Modifies an attribute in the corresponding element model, which is called graphModel inside the method. |
93
-
=======
94
66
|[addElements](./detail/index.en-US.md#addelements)| Batch add nodes and edges. |
95
67
|[selectElementById](./detail/index.en-US.md#selectelementbyid)| Select the graph. |
96
68
|[getSelectElements](./detail/index.en-US.md#getselectelements)| Get all elements selected. |
@@ -103,40 +75,21 @@ All node instance operations on the flowchart, as well as events, and behavioral
103
75
|[setProperties](./detail/index.en-US.md#setproperties)| Set the custom properties of nodes or edges. |
104
76
|[getProperties](./detail/index.en-US.md#getproperties)| Get the custom properties of a node or an edge. |
|[editText](detail#edittext)| Show text editing box for nodes and edges, entering edit mode, equivalent to [graphModel.editText](api/graph-model-api#edittext). |
114
-
|[updateText](detail#updatetext)| Update the node or edge text. |
115
-
|[updateEditConfig](detail#updateeditconfig)| Update the basic configuration of the flow editor. |
116
-
|[getEditConfig](detail#geteditconfig)| Get the basic configuration of the flow editor. |
117
-
=======
118
83
|[editText](./detail/index.en-US.md#edittext)| Show text editing box for nodes and edges, entering edit mode, equivalent to [graphModel.editText](api/graph-model-api#edittext). |
119
84
|[updateText](./detail/index.en-US.md#updatetext)| Update the node or edge text. |
120
85
|[updateEditConfig](./detail/index.en-US.md#updateeditconfig)| Update the basic configuration of the flow editor. |
121
86
|[getEditConfig](./detail/index.en-US.md#geteditconfig)| Get the basic configuration of the flow editor. |
|[focusOn](detail#focuson)| Position to the center of the canvas viewport. |
131
-
|[resize](detail#resize)| Adjusts the width and height of the canvas, if the width or height is not passed, the width and height of the canvas will be calculated automatically. |
132
-
|[toFront](detail#tofront)| Places an element to the top. |
133
-
|[getPointByClient](detail#getpointbyclient)| Get the coordinates of the event location relative to the top left corner of the canvas. |
134
-
|[getGraphData](detail#getgraphdata)| Get flow graphing data. |
135
-
|[getGraphRawData](detail#getgraphrawdata)| Get the raw data of the flow graph. The difference with getGraphData is that the data obtained by this method is not affected by the `adapter`. |
136
-
|[clearData](detail#cleardata)| Clear the canvas. |
137
-
|[renderRawData](detail#renderrawdata)| Rendering of the raw graph data. The difference with render is that after using `adapter`, you can use this method if you still want to render the data in logicflow format. |
138
-
|[render](detail#render)| Render graph data. |
139
-
=======
140
93
|[focusOn](./detail/index.en-US.md#focuson)| Position to the center of the canvas viewport. |
141
94
|[resize](./detail/index.en-US.md#resize)| Adjusts the width and height of the canvas, if the width or height is not passed, the width and height of the canvas will be calculated automatically. |
142
95
|[toFront](./detail/index.en-US.md#tofront)| Places an element to the top. |
@@ -146,37 +99,18 @@ All node instance operations on the flowchart, as well as events, and behavioral
146
99
|[clearData](./detail/index.en-US.md#cleardata)| Clear the canvas. |
147
100
|[renderRawData](./detail/index.en-US.md#renderrawdata)| Rendering of the raw graph data. The difference with render is that after using `adapter`, you can use this method if you still want to render the data in logicflow format. |
|[zoom](detail#zoom)| Zoom in or out on the canvas. |
169
-
|[resetZoom](detail#resetzoom)| Reset the zoom ratio of the drawing to the default, which is 1. |
170
-
|[setZoomMiniSize](detail#setzoomminisize)| Sets the minimum number of times the graph can be scaled when it is reduced. The parameter takes values from 0 to 1. Default 0. |
171
-
|[setZoomMaxSize](detail#setzoommaxsize)| Set the maximum zoom scale when zooming in; default is 16. |
172
-
|[getTransform](detail#gettransform)| Get the zoom in/out value of the current canvas.|
173
-
|[translate](detail#translate)| Panning graph. |
174
-
|[resetTranslate](detail#resettranslate)| Restore the graph to its original position. |
|[zoom](./detail/index.en-US.md#zoom)| Zoom in or out on the canvas. |
181
115
|[resetZoom](./detail/index.en-US.md#resetzoom)| Reset the zoom ratio of the drawing to the default, which is 1. |
182
116
|[setZoomMiniSize](./detail/index.en-US.md#setzoomminisize)| Sets the minimum number of times the graph can be scaled when it is reduced. The parameter takes values from 0 to 1. Default 0. |
@@ -188,20 +122,12 @@ All node instance operations on the flowchart, as well as events, and behavioral
188
122
|[fitView](./detail/index.en-US.md#fitview)| Reduce the entire flowchart to a size where the entire canvas can be displayed. |
0 commit comments