mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-02 15:14:46 +00:00
fix: drag nodes (#211)
This commit is contained in:
parent
210b9ba491
commit
7768f6ef16
@ -324,7 +324,9 @@ limitations under the License. -->
|
|||||||
const drag: any = d3.drag().on("drag", (d: ProcessNode) => {
|
const drag: any = d3.drag().on("drag", (d: ProcessNode) => {
|
||||||
moveNode(d);
|
moveNode(d);
|
||||||
});
|
});
|
||||||
|
setTimeout(() => {
|
||||||
d3.selectAll(".node").call(drag);
|
d3.selectAll(".node").call(drag);
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
function shuffleArray(array: number[][]) {
|
function shuffleArray(array: number[][]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user