fix update node

This commit is contained in:
Владимир Фёдоров 2025-12-07 22:50:19 +07:00
parent 1119fad90c
commit 22628971ac

View File

@ -140,6 +140,11 @@ async function updateSelectedNode() {
console.log("Update node:", selectedNode.value)
await updateNode(selectedNode.value)
await loadGraph()
const nodes = graph.value.nodes.filter(function (it: GraphNode) {
return it.id == selectedNode.value.id
})
selectNode(nodes[0])
}
function nodeHeader(node: GraphNode): string {