Skip to content

[BUG] Broken Graph visualization in Jupyterlab #714

@vgrangep

Description

@vgrangep

Community Note

  • Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the bug
Visualization of the gremlins graph query fails in JupyterLab. there are Js errors in the Console.

  • OS: macOS Sonoma 14.6.1
  • Chip: M1 max
  • Browser: Chrome
  • Graph Notebook Version: graph-notebook 4.6.1
  • Graph Database & Version: Neptune 1.2.0.2
    --

To Reproduce
Using the main branch of the project: https://github.com/aws/graph-notebook
Following the install procedure:

  • using Python 3.9.10

  • manual creation of a virtualenv and installation of dependencies using the provided requirements file
    pip install -r requirements.txt

  • install of the graph-notebook package with pip
    pip install graph-notebook

  • install of jupyter lab with version constraints using the provided command:
    pip install "jupyterlab>=3,<4"

  • connect to the database and run a gremlin query:

%%gremlin
g.V().limit(10).path().by(elementMap())

Gremlin queries are processed correctly
03ecdcf0-f38c-4455-8541-144624876d6d
But visualization is missing
ec3321bb-cf44-494d-a637-4ce3743396e0

  • js error in the console:
    90b6ecd7-5ba1-4769-a664-d16634f6c2df

Expected behavior
A visual representation the graph subquery as it used to be displayed
Screenshot 2024-11-01 at 4 00 47 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions