Skip to content
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

Colors of label chips in card footer do not match those in the graph visualization #296

Closed
nielsdejong opened this issue Jan 2, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@nielsdejong
Copy link
Collaborator

nielsdejong commented Jan 2, 2023

When creating a graph visualization, sometimes there is a mismatch between the inferred colors in the components.
The cleanest solution here is to create a generic utility that infers colors based on labels.
image

@nielsdejong nielsdejong added the bug Something isn't working label Jan 2, 2023
@NanisTe
Copy link

NanisTe commented Feb 27, 2023

I experience the same issue. It happens as soon as one adds two patterns or three label nodes with links to show the graph with all relations.

With above example.

MATCH (com:Company)-[link]-(ca:Card)
WITH com, ca
MATCH (com)-[link2]-(i:Issue)
RETURN com, ca, link, link2

produces this issue as well as

MATCH p1=(com:Company)-[link]-(ca:Card)
WITH p1
MATCH p2=(com:Company)-[link2]-(i:Issue)
RETURN p1,p2

produces same miscoloring.

@BennuFire
Copy link
Contributor

Closed with 2.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants