aws / aws/graph-notebook

`%%opencypher` should render detailed nodes if returned edges contain sufficient information

Open
#450 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
819
Forks
179
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

When `%%opencypher` retrieves a result set containing only relationships, the IN/OUT vertices for these relationships are always rendered as blank nodes, unlabeled and with the default group color.

Example `%%oc` visualization:
![image (5)](https://user-images.githubusercontent.com/10456376/222020571-defd953d-8ccb-41d5-b3a6-6e4f01c46710.png)

For comparison, the `%%gremlin` visualizer already behaves in the intended manner described when given only edges containing sufficient node information (i.e. via elementMap):

![Screen Shot 2023-02-28 at 4 40 23 PM](https://user-images.githubusercontent.com/10456376/222020940-07347242-1aaf-402b-b8c6-a8b541f9fd38.png)

**Describe the solution you'd like**

When relationships returned via `%%opencypher` contain sufficient information (ex. `~id`) about the connected nodes, this information should be used to customize the appearance of the visualized nodes, instead of rendering them blank.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.