修改拓扑图

This commit is contained in:
limengnan 2026-01-28 10:08:39 +08:00
parent e24ca3ef6a
commit 65e2f75b60

View File

@ -250,9 +250,9 @@ onMounted(() => {
graph.on('node:click', (row:any) => {
let node:any = row.node
nodeId.value = node.id
if( node.store.data.shape == 'rect'){
nodeId.value = node.id
styleInfo.value = {
name: node.store.data.attrs.label.text,
color: node.store.data.attrs.body.stroke,