Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
RasperRevision committed Jul 2, 2024
1 parent d5cc727 commit 07c026a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions specification/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
.attr('class', 'node')
.attr('transform', d => `translate(${project(d.x, d.y)})`)
.attr('cursor', 'pointer')
.style('fill', 'rgba(0, 0, 0, 0.5)')
.on('click', (event, d) => {
setFocusedNode(d);
updateVisibleNodes(d);
Expand Down Expand Up @@ -137,9 +138,7 @@
return [Math.cos(angle) * y, Math.sin(angle) * y];
}

function setFocusedNode(node) {
focusedNode = node;
}
function setFocusedNode(node) { focusedNode = node; }

function updateVisibleNodes(node) {
const newVisibleNodes = new Set(['AQA']);
Expand Down Expand Up @@ -177,4 +176,4 @@
</script>
</body>

</html>
</html>

0 comments on commit 07c026a

Please sign in to comment.