diff --git a/plugins/dashboard/frontend/src/app/stores/VisualizerStore.ts b/plugins/dashboard/frontend/src/app/stores/VisualizerStore.ts index e3ac3c5dac62b55714e30bd45c292b102c28709c..dff4fa73fa54880838950fc704adb2ff0f99d6f9 100644 --- a/plugins/dashboard/frontend/src/app/stores/VisualizerStore.ts +++ b/plugins/dashboard/frontend/src/app/stores/VisualizerStore.ts @@ -108,6 +108,18 @@ export class VisualizerStore { } this.verticesIncomingOrder.push(vert.id); this.checkLimit(); + + //clear trunk and branch tip state + let trunkVert = this.vertices.get(vert.trunk_id) + let branchVert = this.vertices.get(vert.branch_id) + if(trunkVert) { + trunkVert.is_tip = false + this.vertices.set(trunkVert.id, trunkVert) + } + if(branchVert){ + branchVert.is_tip = false + this.vertices.set(branchVert.id, branchVert) + } } this.vertices.set(vert.id, vert);