Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve graph display ++ #140

Merged
merged 13 commits into from
Jun 7, 2022
Prev Previous commit
Next Next commit
better font behaviour
  • Loading branch information
DhammaCharts committed Jun 2, 2022
commit a275123be2b1d528dbde23beb9880933c4e22c3e
2 changes: 1 addition & 1 deletion assets/js/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async function drawGraph(baseUrl,isHome,pathColors,graphConfig) {
// highlight links
linkNodes.transition().duration(200).attr("stroke", "var(--g-link-active)")

const bigFont = fontSize+0.5
const bigFont = fontSize*1.5

// show text for self
d3.select(this.parentNode)
Expand Down