constellation-app / constellation

A graph-focused data visualisation and interactive analysis application.
https://constellation-app.com
Apache License 2.0
385 stars 59 forks source link

GraphView inconsistent graphics with Transaction / Edge / Link #1889

Open capricornunicorn123 opened 1 year ago

capricornunicorn123 commented 1 year ago

Prerequisites

Description

Transactions, Edges and Links do not appear to be rendering correctly in the graph view, it appears to be a logic issue concerning undirected transactions. In cases where a transaction is manually created and redefined as undirected, the graph view classifies it with other directed transactions and in some cases renders it as a directed transaction.

Steps to Reproduce

  1. Create a graph in edge mode with two Nodes, A and B. Capture1

  2. Add a transaction from Node A to Node B Capture2

  3. Change the value of the attribute "directed" to False (Notice the arrow disappear form the end of the transaction). Capture3

  4. Add a transaction from Node B to node A (Note the arrow reappear on the undirected transaction). Capture4

  5. Select the undirected transaction (Notice the arrow disappear from the undirected transaction) Capture5

  6. Add another transaction from Node A to Node B (notice the grouping with the undirected graph and the persistence of the arrow)

Note: similar anomalies exist with links where an undirected link that was previously directed can cause a link to express association in an incorrect direction. Select link mode after step 5 and observe a bidirectional association instead of unidirectional.

Behaviour

Expected behaviour:

Undirected transaction should be treated as a separate entity. The are one of three edge types. 2x Directed + 1x Undirected. they should not be grouped with directed edges unless being represented as a link.

Additional Information

N/A

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 6 months with no activity. Consider reviewing and taking an action on this issue.