nicer label sizes

This commit is contained in:
Tao Bror Bojlén 2019-07-19 18:06:54 +03:00
parent 8427f6b3be
commit a6afe91d73
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Cytoscape extends React.Component<ICytoscapeProps> {
.selector("node[label]")
.style({
color: "black",
"font-size": "mapData(size, 4, 6, 20, 50)",
"font-size": "mapData(size, 1, 6, 20, 50)",
"min-zoomed-font-size": 16,
"text-background-color": DEFAULT_NODE_COLOR,
"text-background-opacity": 0.5,