Skip to content

Commit

Permalink
feat: use bezier line style to make edges clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Dec 4, 2024
1 parent 8d5cd7a commit 98de969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function highlightNode(node) {

cy.elements().forEach(n => n.style("opacity", 0.1));
nhood.forEach(n => n.style("opacity", 1));
connectedEdges.forEach(n => {n.style("curve-style", "straight"); n.style("min-zoomed-font-size", 12)});
connectedEdges.forEach(n => {n.style("curve-style", "bezier"); n.style("min-zoomed-font-size", 12)});

const layout = nhood.layout({
name: 'concentric',
Expand Down

0 comments on commit 98de969

Please sign in to comment.