Skip to content

Commit dec9ba8

Browse files
committed
t
1 parent 86e5bca commit dec9ba8

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

docs/enhanced_index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@
196196
pointer-events: none;
197197
opacity: 0.9;
198198
transition: font-size 0.2s, opacity 0.2s;
199+
fill: #000;
200+
stroke: #fff;
201+
stroke-width: 0.5px;
202+
paint-order: stroke;
199203
}
200204

201205
.node.highlight circle {

docs/enhanced_visualizer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,10 @@ document.addEventListener('DOMContentLoaded', function() {
314314
.attr('text-anchor', 'middle')
315315
.text(d => d.name || d.label || d.id.split('.').pop())
316316
.style('font-size', '10px')
317-
.style('fill', '#fff')
317+
.style('fill', 'black')
318+
.style('stroke', 'white')
319+
.style('stroke-width', '0.5px')
320+
.style('paint-order', 'stroke')
318321
.style('pointer-events', 'none');
319322

320323
console.log("Graph drawing complete");

0 commit comments

Comments
 (0)