torstenboettjer opened a new issue, #179:
URL: https://github.com/apache/age-viewer/issues/179

   **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 nodes, 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);
   
   Produce
   ![Screenshot from 2024-11-04 
09-16-47](https://github.com/user-attachments/assets/065f8fa0-ebf8-4139-aab7-adcf34787e86)
   s
   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**
   If applicable, add screenshots
   
![image](https://github.com/user-attachments/assets/a0fc34e7-1a7b-45ed-bdc5-cbb656537e26)
    to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: NixOS
    - Browser: Chrome
    - Version: 130.0.6723.58 
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to