First published in the Language finch documentation

There are many fewer built-in commands than in g6-Editor.

To learn more about g6-Editor’s built-in commands, click here: github.com/blueju/vue-…

Chinese name English names Applicable map type (for reference only)
undo undo All
redo redo All
add add All
update update All
delete remove All
copy copy All
paste paste All
Paste it here pasterHere All
amplification zoomIn All
narrow zoomOut All
Insert the theme topic Mind maps
Insert subtheme subtopic Mind maps
Pack up fold Mind maps
an unfold Mind maps

In general, we do not write a string such as undo directly to use the built-in command. Instead, we refer to the global constant exposed by gg-Editor for easy traceability, as shown in the following figure:





You can jump to Github to see all of the built-in gg-Editor commands and their corresponding code:

Github.com/alibaba/GGE…