better font behaviour

This commit is contained in:
DhammaCharts 2022-06-02 08:35:28 +01:00
parent c88f31c364
commit a275123be2

View File

@ -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)