mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 14:45:25 +00:00
update topology
This commit is contained in:
parent
2167b4afd5
commit
c110ee7cc5
@ -153,7 +153,7 @@ async function init() {
|
|||||||
graph.value = svg.value
|
graph.value = svg.value
|
||||||
.append("g")
|
.append("g")
|
||||||
.attr("class", "topo-svg-graph")
|
.attr("class", "topo-svg-graph")
|
||||||
.attr("transform", `translate(0, -100)`);
|
.attr("transform", `translate(-100, -100)`);
|
||||||
graph.value.call(tip.value);
|
graph.value.call(tip.value);
|
||||||
simulation.value = simulationInit(
|
simulation.value = simulationInit(
|
||||||
d3,
|
d3,
|
||||||
@ -532,7 +532,7 @@ watch(
|
|||||||
() => appStore.durationTime,
|
() => appStore.durationTime,
|
||||||
() => {
|
() => {
|
||||||
if (dashboardStore.entity === EntityType[1].value) {
|
if (dashboardStore.entity === EntityType[1].value) {
|
||||||
init();
|
freshNodes();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user