forcegraph: add labels

This commit is contained in:
Nils Schneider 2015-04-10 13:50:39 +02:00
commit 020ab2aef5
2 changed files with 149 additions and 66 deletions

View file

@ -45,13 +45,16 @@
}
}
.label {
.labels {
text {
font-size: 0.8em;
}
rect {
fill: rgba(255, 255, 255, 0.8);
font-size: 7pt;
font-family: Roboto;
alignment-baseline: central;
text-anchor: middle;
fill: rgba(0, 0, 0, 0.6);
paint-order: stroke;
stroke-width: 3pt;
stroke: rgba(255, 255, 255, 0.5);
}
}
}