|
@@ -193,7 +193,6 @@ onMounted(() => {
|
|
|
if (rect) {
|
|
if (rect) {
|
|
|
graph = initGraph(rect.width, rect.height)
|
|
graph = initGraph(rect.width, rect.height)
|
|
|
graph.node((node) => {
|
|
graph.node((node) => {
|
|
|
- console.log(node,"node")
|
|
|
|
|
if (node.label === "建筑工程" || node.label === "工程设计") {
|
|
if (node.label === "建筑工程" || node.label === "工程设计") {
|
|
|
return {
|
|
return {
|
|
|
style: {
|
|
style: {
|
|
@@ -207,12 +206,8 @@ onMounted(() => {
|
|
|
fill: "#00FA9A",
|
|
fill: "#00FA9A",
|
|
|
stroke: "#00FA9A",
|
|
stroke: "#00FA9A",
|
|
|
},
|
|
},
|
|
|
- };
|
|
|
|
|
-
|
|
|
|
|
|
|
+ };
|
|
|
});
|
|
});
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- console.log(graph,"graph")
|
|
|
|
|
findName(keyword.value)
|
|
findName(keyword.value)
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|