highlight path

This commit is contained in:
Cindy Chang
2024-08-21 14:25:34 +08:00
parent 4ab0d4765b
commit d56ea98780
4 changed files with 90 additions and 42 deletions

View File

@@ -43,7 +43,6 @@ export default defineStore('useCytoscapeStore', {
if(nodeToSave) {
nodeToSave.position = position;
} else {
console.log('aaaa this.nodePositions[this.currentGraphId]',this.nodePositions[this.currentGraphId] );
this.nodePositions[this.currentGraphId].push({id: nodeId, position: position});
}
} else {