Skip to content

Commit

Permalink
Disable edge text (Fixes Error in hiding the other edge/node labels w…
Browse files Browse the repository at this point in the history
…hen selecting a chain #144)
  • Loading branch information
bigbug committed Jan 23, 2023
1 parent 442274f commit 8790c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/GraphvizD3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const GraphvizD3 = forwardRef(({

// disable everything
svg.select("g")
.selectAll(".node ellipse, .edge path, .edge polygon, .node text, .edge polygon")
.selectAll(".node ellipse, .edge path, .edge polygon, .node text, .edge polygon, .edge text")
// eslint-disable-next-line func-names
.each(function () {
const opacity = select(this).attr("data-opacity") || 1;
Expand Down

0 comments on commit 8790c98

Please sign in to comment.