Allison-E opened a new issue, #1069:
URL: https://github.com/apache/age/issues/1069

   **Is your feature request related to a problem? Please describe.**
   
   Undirected graphs are not built into AGE. In Neo4j, you could create a new 
undirected graph using:
   ```sql
   CREATE (x)-[:Is_friends_with]-(y)
   ```
   Trying that in AGE throws an error.
   
   ```sql
   ERROR:  only directed relationships are allowed in CREATE
   ```
   To get around this, I have to manually create two opposite-directed edges.
   ```sql
   CREATE (x)-[:Is_friends_with]->(y)-[:Is_friends_with]->x
   ```
   
   **Describe the solution you'd like**
   It'll be convenient to be able to create an undirected graph using the 
cypher query `CREATE (x)-[Is_friends_with]-(y)`, which will also be represented 
using a single line without arrowheads in AGE Viewer.
   
   **Describe alternatives you've considered**
   NIL
   
   **Additional context**
   Manually creating an undirected graph using directed edges currently looks 
like this in AGE Viewer.
   ![Current undirected graph in 
AGE](https://github.com/apache/age/assets/39530416/8001a289-144c-4b96-9c6b-003b62d9e38e)
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to