nicer label sizes
This commit is contained in:
parent
8427f6b3be
commit
a6afe91d73
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue