Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/wanglin2/mind-map
/ execCommand
Method
execCommand
simple-mind-map/index.js:451–453 ·
view source on GitHub ↗
(...args)
Source
from the content-addressed store, hash-verified
449
450
// 执行命令
451
execCommand(...args) {
452
this.command.exec(...args)
453
}
454
455
// 更新画布数据,如果新的数据是在当前画布节点数据基础上增删改查后形成的,那么可以使用该方法来更新画布数据
456
updateData(data) {
Callers
15
setTheme
Method · 0.95
setData
Method · 0.95
setMode
Method · 0.95
registerShortcutKeys
Method · 0.80
bind
Method · 0.80
hideEditTextBox
Method · 0.80
registerShortcutKeys
Method · 0.80
clearActiveNodeListOnDrawClick
Method · 0.80
clearActiveNodeList
Method · 0.80
addNodeToActiveList
Method · 0.80
removeNodeFromActiveList
Method · 0.80
backForward
Method · 0.80
Calls
1
exec
Method · 0.80
Tested by
no test coverage detected