changed: select current note in network
This commit is contained in:
parent
4cb7a1475e
commit
0eeccfaba9
1 changed files with 4 additions and 0 deletions
4
main.js
4
main.js
|
|
@ -681,6 +681,10 @@ function shownotelinks()
|
||||||
toggleeditor(false);
|
toggleeditor(false);
|
||||||
loadnote(nodes.find(n => n.id == event.nodes[0]).label);
|
loadnote(nodes.find(n => n.id == event.nodes[0]).label);
|
||||||
});
|
});
|
||||||
|
graph.setSelection(
|
||||||
|
{
|
||||||
|
nodes : [id(currentnote)]
|
||||||
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue