Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
RasperRevision authored Jul 3, 2024
1 parent 8e8508b commit b481edf
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions specification/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@
.append('g')
.attr('transform', `translate(${width / 2},${height / 2})`);

// Define blur filter
svg.append('defs')
.append('filter')
.attr('id', 'blur-filter')
.append('feGaussianBlur')
.attr('in', 'SourceGraphic')
.attr('stdDeviation', 5);

const root = d3.hierarchy(data);

const tree = d3.tree()
Expand Down Expand Up @@ -139,7 +131,7 @@
.attr('rx', 5)
.attr('ry', 5)
.style('visibility', d => (visibleNodes.has(d.data.name) || d.depth === 0) ? 'visible' : 'hidden')
.style('filter', 'url(#blur-filter)'); // Apply blur filter
.style('backdrop-filter', 'blur(5px)');

function project(x, y) {
const angle = x - Math.PI / 2;
Expand Down

0 comments on commit b481edf

Please sign in to comment.