MCPcopy Index your code
hub / github.com/hizzgdev/jsmind / modify_node

Function modify_node

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

Source from the content-addressed store, hash-verified

205}
206
207function modify_node() {
208 var selected_id = get_selected_nodeid();
209 if (!selected_id) {
210 prompt_info('please select a node first.');
211 return;
212 }
213
214 // modify the topic
215 _jm.update_node(selected_id, '--- modified ---');
216}
217
218function move_to_first() {
219 var selected_id = get_selected_nodeid();

Callers

nothing calls this directly

Calls 3

get_selected_nodeidFunction · 0.85
prompt_infoFunction · 0.85
update_nodeMethod · 0.45

Tested by

no test coverage detected