Skip to content

Relationship not displayed in graph visualizer even though query matches and returns it #16

@jetlime

Description

@jetlime

When querying for a specific relationship type, the graph visualizer does not display the matched relationship edge, even though the query returns a valid result.

In the example below, a path_chmod relationship is matched between two nodes. The query returns the expected nodes, which confirms that the relationship exists. However, in the graph visualization, the path_chmod edge is not shown. Instead, other relationship edges between the same nodes are displayed.

Used query:

MATCH (chmod_inode)-[:path_chmod]->(proc)
WHERE chmod_inode.object_type = 'regular file'
RETURN chmod_inode, proc

Expected behavior: the graph visualizer should display the path_chmod relationship edge between the matched nodes.

Actual behavior: the graph visualizer displays the two matched nodes and other relationships between them, but does not display the path_chmod relationship:

Image

The same behavior occurs even when explicitly returning the relationship in the query:

MATCH (chmod_inode)-[r:path_chmod]->(proc)
WHERE chmod_inode.object_type = 'regular file'
RETURN chmod_inode, r, proc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions