graph-diff icon indicating copy to clipboard operation
graph-diff copied to clipboard

Option to show only subgraph with changed nodes and edges

Open yeger00 opened this issue 6 years ago • 1 comments

Currently the diff graph contains all the edges and nodes. I think there should be an option to show only the most relevant data - only subgraphs that contains a node or edge with a change (added or removed).

yeger00 avatar Jul 12 '19 19:07 yeger00

Hey @yeger00,

I think that will limit the graphs to minimal nodes and edges unless the changes are huge. An alternative could be to extract added and deleted nodes and then use the property of slicing to extract nodes (1 hop neighbourhood) affecting the changed and deleted nodes and just retain them. This way we preserve the contextual information. I will work on adding that.

abhi-11nav avatar Feb 10 '23 19:02 abhi-11nav