Molbap HF Staff commited on
Commit
ec2e7db
·
verified ·
1 Parent(s): 071e1c7

Update modular_graph_and_candidates.py

Browse files
Files changed (1) hide show
  1. modular_graph_and_candidates.py +5 -5
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' ? '100px' : '70px')
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:40px;
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: 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;
@@ -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:14px; box-shadow:0 4px 16px rgba(0,0,0,.12);
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;