Skip to content

Edges not shown #179

Open
Open
@torstenboettjer

Description

Describe the bug
Creating a graph with vertex and edges, not all edges, catpured in AGE are shown in AGE viewer

To Reproduce
Create a graph with artifacts, containers and packages

Execute
SELECT * FROM cypher('subscription', $$
MATCH (artifact:artifact {domain: 'access'})
MATCH (container:container {name: node.container})
MATCH (node)--(application:package)
RETURN artifact.name AS artifact, application.name AS application, container.name AS container
$$) AS (artifact agtype, container agtype, application agtype);

Result in psql
id | start_id | end_id | properties
-----------------------------+-----------------------------+-----------------------------+------------
11821949021847553 | 11540474045136897 | 10977524091715585 | {}
11821949021847554 | 11540474045136898 | 10977524091715586 | {}
11821949021847555 | 11540474045136899 | 10977524091715587 | {}
11821949021847556 | 11540474045136897 | 11258999068426241 | {}
11821949021847557 | 11540474045136899 | 11258999068426242 | {}
11821949021847558 | 11540474045136898 | 11258999068426243 | {}
(6 rows)

Running the following in Viewer
SELECT * from cypher('subscription', $$
MATCH (V)-[R:MERGE]-(V2)
RETURN V,R,V2
$$) as (V agtype, R agtype, V2 agtype);

Produces
Node Label: artifact (3)
Edge Label: MERGE (6)

But the graph only shows four edges, two 'container' vertex are show without the respective edge to the 'artifact'

Expected behavior
Show all six edges

Screenshots
image

Error message
Screenshot from 2024-11-04 09-30-05

Desktop (please complete the following information):

  • OS: NixOS
  • Browser: Chrome
  • Version: 130.0.6723.58

Additional context
Seems to be related to 'Some relations are not showing in AG viewer #66', changing the thickness of the relation shows missing relations, while existing relations disappear. Total number of shown relations remains constant four.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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