-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Fix obscured service map connections #67129
[APM] Fix obscured service map connections #67129
Conversation
…out from 0.85 -> 1.2
Pinging @elastic/apm-ui (Team:apm) |
@@ -80,7 +80,7 @@ function getLayoutOptions( | |||
roots: selectedRoots.length ? selectedRoots : undefined, | |||
fit: true, | |||
padding: nodeHeight, | |||
spacingFactor: 0.85, | |||
spacingFactor: 1.2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a magic number but if it works...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docs for this setting (https://js.cytoscape.org/#layouts/breadthfirst) describe it as:
positive spacing factor, larger => more space between nodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All right 👍
- also bump the label font size
retest |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* Closes elastic#67126 by increasing spacingFactor in the cytoscape layout from 0.85 -> 1.2 * - prevents labels from hiding when nodes get a bit smaller - also bump the label font size
* Closes elastic#67126 by increasing spacingFactor in the cytoscape layout from 0.85 -> 1.2 * - prevents labels from hiding when nodes get a bit smaller - also bump the label font size
* master: (21 commits) [Alerting] Hides the `alert` SavedObjects type (elastic#66719) skip flaky suite (elastic#66869) fix visual baseline tests [kbn/optimizer] require fsevents on macos (elastic#67147) [APM] Fix obscured service map connections (elastic#67129) [apm] Annotation API documentation (elastic#65963) [Uptime] Improve responsiveness details page (elastic#67034) skip flaky suite (elastic#66669) Revert "Integration of a static filesystem for the node_modules (elastic#47998)" (elastic#67124) Support api_integration/kibana/stats against remote hosts (elastic#53000) chore(NA): add module name mapper for src plugins on x-pack (elastic#67103) Change the error message on TSVB in order to be more user friendly (elastic#67090) [kbn/optimizer] poll parent process to avoid zombie processes (elastic#67059) [Visualize] Lazy load default editor, fix duplicated styles (elastic#66732) Bump styled-component dependencies (elastic#66611) Bump react-markdown dependencies (elastic#66615) Fix Core docs links (elastic#66977) Timelion graph is not refreshing content after searching or filtering (elastic#67023) Remove `--xpack.endpoint.enabled=true` from README.md file (elastic#67053) Move apm tutorial from apm plugin into apm_oss plugin (elastic#66432) ...
Looks good, on Chrome, FF and Safari. |
Closes #67126 by increasing
spacingFactor
in the Cytoscape layout from 0.85 -> 1.2After (
spacingFactor: 1.2
):Before (
spacingFactor: 0.85
):