Skip to content

Commit 1220bc3

Browse files
committed
Bring the highlighted nodes and edges to the front
1 parent bc0d3e1 commit 1220bc3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/widget.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ function highlightSelection(graphvizInstance, currentSelection, $) {
156156
highlightedEdges = highlightedEdges.add(legendEdges);
157157

158158
graphvizInstance.highlight(highlightedNodes, highlightedEdges);
159+
graphvizInstance.bringToFront(highlightedNodes);
160+
graphvizInstance.bringToFront(highlightedEdges);
159161
}
160162

161163
function handleGraphvizSvgEvents(graphvizInstance, $, currentSelection, getSelectedDirection) {

0 commit comments

Comments
 (0)