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;
|
|
|
|
| 740 |
node.append('text')
|
| 741 |
.attr('class','node-label')
|
| 742 |
.attr('dy','-2.4em')
|
| 743 |
+
.style('font-size', d => d.cls === 'base' ? '100px' : '70px')
|
| 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:40px;
|
| 841 |
paint-order:stroke fill;
|
| 842 |
stroke:var(--outline);
|
| 843 |
stroke-width:3px;
|
|
|
|
| 894 |
|
| 895 |
.timeline-label {
|
| 896 |
fill: var(--muted);
|
| 897 |
+
font-size: 30px;
|
| 898 |
font-weight: 600;
|
| 899 |
text-anchor: middle;
|
| 900 |
}
|
| 901 |
|
| 902 |
.timeline-month-label {
|
| 903 |
fill: var(--muted);
|
| 904 |
+
font-size: 25px;
|
| 905 |
font-weight: 400;
|
| 906 |
text-anchor: middle;
|
| 907 |
opacity: 0.7;
|