-
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] Service Map - Separate overlapping edges by rotating nodes #60477
[APM] Service Map - Separate overlapping edges by rotating nodes #60477
Conversation
I like this a lot, it really helps to see the connections ongoing and outgoing. I wonder if the thickness of the highlighted taxi lines are too heavy, because it almost overlays all the others when you hover a single node. If the default stroke thickness is |
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.
I like it. Code is approved, but have a look at @formgeist comment on the edge looks.
degreesRotated: number | ||
) { | ||
const radiansPerDegree = Math.PI / 180; | ||
const θ = radiansPerDegree * degreesRotated; |
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.
+1,000,000,000 points for using θs in variable names.
@formgeist Should there be any color/shade indication of hover as well as the thickness change? |
I think you already implemented the different color on node hover, but I wanted to go something along the lines of this; |
d36b7ac
to
ac7c926
Compare
The visual changes look good to me - I think the darker shade on edges on hover looks really good, much clearer than before. |
@ogupte Could you include a minor copy update in this PR? I realized that we don't pluralize Service map, so I would like to change the placeholder copy in the Kuerybar. Change to: Thanks! |
transformation + an extra 5 degrees which results in taxi edges separating when rendered.
edges are highlighted when node is selected/focused
ac7c926
to
3fbefbd
Compare
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…stic#60477) * Adds rotation transform which does the top->bottom to left->right transformation + an extra 5 degrees which results in taxi edges separating when rendered. * PR feedback to reduce edge width on hover, and assure that connected edges are highlighted when node is selected/focused * update disabled kuery bar placeholder text for service map
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
1 similar comment
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
* master: (39 commits) [APM]Create custom link from Trace summary (elastic#59648) [ML] Fixing app clean up (elastic#60853) [SIEM] Use ECS categorisation for Authentication widgets (elastic#60734) [NP] Remove kbnUrl usage in discover/dashboard/visualize (elastic#60016) Skip failing test [Uptime]Update fetch effect failed action handling (elastic#60742) [npm] upgrade elastic/maki (elastic#60829) [Uptime] Add Settings Page (elastic#53550) [APM] service maps: avoid unnecesary `useDeepObjectIdentity` (elastic#60836) [Index management] Re-enable index template tests (elastic#60780) Fixed UI/UX issues: alerts delete confirmation, combobox behaviors (elastic#60703) [SIEM] Fix patching of ML Rules (elastic#60830) [APM] Service Map - Separate overlapping edges by rotating nodes (elastic#60477) [Alerting] fix flaky test for index threshold grouping (elastic#60792) [SIEM][Detection Engine] Adds test scripts for machine learning feature Flatten child api response for resolver (elastic#60810) Change "url" to "urls" in APM agent instructions (elastic#60790) [DOCS] Updates API requests and examples (elastic#60695) [SIEM] [Cases] Create case from timeline (elastic#60711) [Lens] Resetting a layer generates new suggestions (elastic#60674) ...
) (#60843) * Adds rotation transform which does the top->bottom to left->right transformation + an extra 5 degrees which results in taxi edges separating when rendered. * PR feedback to reduce edge width on hover, and assure that connected edges are highlighted when node is selected/focused * update disabled kuery bar placeholder text for service map Co-authored-by: Elastic Machine <[email protected]>
Closes #59779. Adds rotation transform which does the top->bottom to left->right transformation + an extra 5 degrees which results in taxi edges separating when rendered.
