neo4j-labs / neodash

NeoDash - a Dashboard Builder for Neo4j
https://neo4j.com/labs/neodash/
Apache License 2.0
418 stars 138 forks source link

3D Graph doesn't show #759

Closed gcthys closed 9 months ago

gcthys commented 9 months ago

The query:

MATCH (p:Producer)-[r:HAS_NAME_VARIANT]->(n:Name) WHERE n.NameID = $neodash_name_nameid MATCH (p)-[r3:HAS_NAME_VARIANT]->(n2:Name) OPTIONAL MATCH (n2:Name)-[r4:NAME_FOUND_IN]->(s2:Source) OPTIONAL MATCH (s2:Source)-[a:APPEARED_IN]->(s3:Source) OPTIONAL MATCH (n2:Name)-[v:VERBAL_SOURCE]->(p2:Producer)-[r6:HAS_NAME_VARIANT {qualification :"preferred"}]->(n3:Name) RETURN *

produces the following 2D Graph: Schermafbeelding 2024-01-17 151123

but the 3D Graph report is empty:

image

(Advanced Visualisations extension is on)

nielsdejong commented 9 months ago

hi @gcthys , Can you send me the value for $neodash_name_id? I tried with your database but it seems to work on my side. I'm trying with N2503:

image
gcthys commented 9 months ago

I tried with different values but none of them worked. See screen recording:

https://github.com/neo4j-labs/neodash/assets/68611501/dcc991cb-0a89-4939-9122-005c1ea4c326

nielsdejong commented 9 months ago

Hi Guido,

I discovered the problem. Looks like your background color is not a valid string, namely #D1FFC9 instead of just #D1FFC9. You can make it work again by removing the spaces at the end.

It seems that the 3D graph library is less robust than the 2D one. I'll create a fix for this soon.

Thanks for discovering this one, Niels

gcthys commented 9 months ago

You're welcome!