Spaces:
Running
Running
Update modular_graph_and_candidates.py
Browse files
modular_graph_and_candidates.py
CHANGED
|
@@ -740,7 +740,7 @@ node.filter(d => d.cls !== 'base').append('circle').attr('r', d => 20*d.sz);
|
|
| 740 |
node.append('text')
|
| 741 |
.attr('class','node-label')
|
| 742 |
.attr('dy','-2.4em')
|
| 743 |
-
.style('font-size', d => d.cls === 'base' ? '
|
| 744 |
.style('font-weight', d => d.cls === 'base' ? 'bold' : 'normal')
|
| 745 |
.text(d => d.id);
|
| 746 |
|
|
@@ -837,7 +837,7 @@ svg{ width:100vw; height:100vh; }
|
|
| 837 |
pointer-events:none;
|
| 838 |
text-anchor:middle;
|
| 839 |
font-weight:600;
|
| 840 |
-
font-size:
|
| 841 |
paint-order:stroke fill;
|
| 842 |
stroke:var(--outline);
|
| 843 |
stroke-width:3px;
|
|
@@ -894,14 +894,14 @@ svg{ width:100vw; height:100vh; }
|
|
| 894 |
|
| 895 |
.timeline-label {
|
| 896 |
fill: var(--muted);
|
| 897 |
-
font-size:
|
| 898 |
font-weight: 600;
|
| 899 |
text-anchor: middle;
|
| 900 |
}
|
| 901 |
|
| 902 |
.timeline-month-label {
|
| 903 |
fill: var(--muted);
|
| 904 |
-
font-size:
|
| 905 |
font-weight: 400;
|
| 906 |
text-anchor: middle;
|
| 907 |
opacity: 0.7;
|
|
@@ -912,7 +912,7 @@ svg{ width:100vw; height:100vh; }
|
|
| 912 |
position:fixed; top:20px; left:20px;
|
| 913 |
background:rgba(255,255,255,.95);
|
| 914 |
padding:20px 26px; border-radius:12px; border:1.5px solid #e0e0e0;
|
| 915 |
-
font-size:
|
| 916 |
z-index: 100;
|
| 917 |
backdrop-filter: blur(8px);
|
| 918 |
max-width: 280px;
|
|
|
|
| 740 |
node.append('text')
|
| 741 |
.attr('class','node-label')
|
| 742 |
.attr('dy','-2.4em')
|
| 743 |
+
.style('font-size', d => d.cls === 'base' ? '130px' : '100px')
|
| 744 |
.style('font-weight', d => d.cls === 'base' ? 'bold' : 'normal')
|
| 745 |
.text(d => d.id);
|
| 746 |
|
|
|
|
| 837 |
pointer-events:none;
|
| 838 |
text-anchor:middle;
|
| 839 |
font-weight:600;
|
| 840 |
+
font-size:50px;
|
| 841 |
paint-order:stroke fill;
|
| 842 |
stroke:var(--outline);
|
| 843 |
stroke-width:3px;
|
|
|
|
| 894 |
|
| 895 |
.timeline-label {
|
| 896 |
fill: var(--muted);
|
| 897 |
+
font-size: 40px;
|
| 898 |
font-weight: 600;
|
| 899 |
text-anchor: middle;
|
| 900 |
}
|
| 901 |
|
| 902 |
.timeline-month-label {
|
| 903 |
fill: var(--muted);
|
| 904 |
+
font-size: 35px;
|
| 905 |
font-weight: 400;
|
| 906 |
text-anchor: middle;
|
| 907 |
opacity: 0.7;
|
|
|
|
| 912 |
position:fixed; top:20px; left:20px;
|
| 913 |
background:rgba(255,255,255,.95);
|
| 914 |
padding:20px 26px; border-radius:12px; border:1.5px solid #e0e0e0;
|
| 915 |
+
font-size:24px; box-shadow:0 4px 16px rgba(0,0,0,.12);
|
| 916 |
z-index: 100;
|
| 917 |
backdrop-filter: blur(8px);
|
| 918 |
max-width: 280px;
|