MCPcopy Create free account
hub / github.com/hizzgdev/jsmind / expand

Function expand

example/2_features.js:338–346  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336}
337
338function expand() {
339 var selected_id = get_selected_nodeid();
340 if (!selected_id) {
341 prompt_info('please select a node first.');
342 return;
343 }
344
345 _jm.expand_node(selected_id);
346}
347
348function collapse() {
349 var selected_id = get_selected_nodeid();

Callers

nothing calls this directly

Calls 3

get_selected_nodeidFunction · 0.85
prompt_infoFunction · 0.85
expand_nodeMethod · 0.45

Tested by

no test coverage detected