make labels larger
This commit is contained in:
parent
39d279debd
commit
3ebab9d452
|
@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- You can now link directly to instances at e.g. /instance/mastodon.social.
|
- You can now link directly to instances at e.g. /instance/mastodon.social.
|
||||||
- Instance details now have a link to the corresponding fediverse.network page.
|
- Instance details now have a link to the corresponding fediverse.network page.
|
||||||
### Changed
|
### Changed
|
||||||
|
- You no longer have to zoom completely in to see labels.
|
||||||
|
- Label size is now dependent on the instance size.
|
||||||
### Deprecated
|
### Deprecated
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -26,8 +28,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- To improve performance, instances with no neighbors are no longer shown on the graph.
|
- To improve performance, instances with no neighbors are no longer shown on the graph.
|
||||||
### Deprecated
|
### Deprecated
|
||||||
- The /api/v1 endpoint no longer exists; now there's a new /api.
|
- The /api/v1 endpoint no longer exists; now there's a new /api.
|
||||||
### Removed
|
|
||||||
### Fixed
|
|
||||||
### Security
|
### Security
|
||||||
- Spam domains can be blacklisted in the backend crawler's config.
|
- Spam domains can be blacklisted in the backend crawler's config.
|
||||||
- Add basic automated security scanning (using [Sobelow](https://github.com/andmarti1424/sc-im.git) and Gitlab's dependency scanning).
|
- Add basic automated security scanning (using [Sobelow](https://github.com/andmarti1424/sc-im.git) and Gitlab's dependency scanning).
|
||||||
|
|
|
@ -89,7 +89,7 @@ class Cytoscape extends React.Component<ICytoscapeProps> {
|
||||||
.selector("node[label]")
|
.selector("node[label]")
|
||||||
.style({
|
.style({
|
||||||
color: DEFAULT_NODE_COLOR,
|
color: DEFAULT_NODE_COLOR,
|
||||||
"font-size": 50,
|
"font-size": "mapData(size, 1, 6, 10, 100)",
|
||||||
"min-zoomed-font-size": 16
|
"min-zoomed-font-size": 16
|
||||||
})
|
})
|
||||||
.selector(".hidden") // used to hide nodes not in the neighborhood of the selected
|
.selector(".hidden") // used to hide nodes not in the neighborhood of the selected
|
||||||
|
|
Loading…
Reference in a new issue