Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
dagre layout style
Browse files Browse the repository at this point in the history
  • Loading branch information
eleonora-sc committed Nov 26, 2023
1 parent 1a51d9e commit b45833a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function TreeGraph ({ className, projectID }) {

},
minZoom: 0.03, // Minimum zoom level (e.g., 0.5 means the graph can be zoomed out to half its original size)
maxZoom: 1, // Maximum zoom level (e.g., 2 means the graph can be zoomed in to twice its original size)
maxZoom: 0.5, // Maximum zoom level (e.g., 2 means the graph can be zoomed in to twice its original size)
})

// Calculate and set node dimensions based on label text
Expand Down

0 comments on commit b45833a

Please sign in to comment.