Skip to content

Commit

Permalink
development
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex committed Dec 2, 2024
1 parent 349ef02 commit e302ba1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/circlepacked/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function chart(data) {
.attr("stroke-opacity", 1)
//(d) => (d.depth ===1? 0.3: d.depth < 3 === 0 ? 1 : 0.4))
.attr("stroke-dasharray", (d) => (d.depth != 1 ? "0" : "5 2 1 1 3 4"))
.attr("pointer-events", (d) => (!d.children ? "none" : null))
.attr("pointer-events", (d) => (!d.children | d.depth>3 ? "none" : null))
// pointer-events: none;
.on("mouseover", function () {
d3.select(this).attr("stroke", (d) => {
head.text(`${d.data.prefix} : ${d.data.name}`)
Expand Down

0 comments on commit e302ba1

Please sign in to comment.