Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Tweak to the group compound layout algorithm #1464

Merged
merged 2 commits into from Oct 3, 2019

Conversation

josejulio
Copy link
Member

@josejulio josejulio commented Oct 3, 2019

After some investigation we (@josejulio , @jshaughn) found that two PR's created independently sort of clashed when run together, so it didn't emerge until after the merge.

First, in our GroupCompoundlayout, use elems.remove() as opposed to elems.move(). It's not clear why this is better, but it is. And do the remove/restore in one shot, for all parents.

The changes in the layout surfaced an issue in the new UX graph styling code, so that is part two of the fix.

The issues showed up in Chrome, but adversely affected FF even more, and Cola layout was the worst. Local testing on both browsers and all layouts now seem happy,

Fixes kiali/kiali#1764

 - Remove nodes from the parents instead of moving them outside
@jshaughn jshaughn added this to In Review in Sprint 29 via automation Oct 3, 2019
Copy link
Contributor

@jshaughn jshaughn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@josejulio josejulio merged commit 1cfce09 into kiali:master Oct 3, 2019
Sprint 29 automation moved this from In Review to Done Oct 3, 2019
@ghost ghost added this to the v1.7.0 milestone Oct 3, 2019
jshaughn pushed a commit to jshaughn/kiali-ui that referenced this pull request Oct 4, 2019
* Tweak to the group compound layout algorithm
 - Remove nodes from the parents instead of moving them outside

* Makes bounds-expansion more stable by ommiting small diffs
jshaughn added a commit that referenced this pull request Oct 4, 2019
* Tweak to the group compound layout algorithm
 - Remove nodes from the parents instead of moving them outside

* Makes bounds-expansion more stable by ommiting small diffs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Sprint 29
  
Done
2 participants