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
perf: Annotation min-width and input width; (#3947)
* perf: Annotation min-width and input width;
* Fix build issue (#3934)
* fix: there is no dir named mobile
* fix: path-util is not marked as dependency of plugin, but actually it is
Co-authored-by: xiangyifeng <[email protected]>
Co-authored-by: fxiangyi <[email protected]>
Co-authored-by: xiangyifeng <[email protected]>
Copy file name to clipboardExpand all lines: packages/site/docs/manual/middle/states/defaultBehavior.en.md
+4
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,10 @@ const graph = new G6.Graph({
277
277
-`type: 'click-select'`;
278
278
-`multiple`: Whether to allow multiple selection. `true` by default. `false` means multiple selection is not allowed, and the `trigger` will not take effect.
279
279
-`trigger`: Specify which trigger for multiple selection. `shift` by default, which means multiple selection is activated when the shift button is pressed. Options: `'shift'`, `'ctrl'`, `'alt'`, and so on;
280
+
-`selectedState`: The state name for an item which is selected by this behaivor, `'selected'` by default;
281
+
-`selectNode`: Whether allow selecting node by this behavior, `true` by default;
282
+
-`selectEdge`: Whether allow selecting edge by this behavior, `false` by default;
283
+
-`selectCombo`: Whether allow selecting combo by this behaivor, `true` by default;
280
284
-`shouldBegin(e)`: Whether allow the behavior happen on the current item (e.item), see the example below;
281
285
-`shouldUpdate(e)`: Whether allow the behavior changes the state and state style of the on the current item (e.item), see the example below.
0 commit comments