0
I would like to merge connected nodes with a specific attribute of a directed acyclic graph. After each merge operation, the graph should remain acyclic. Let's say my graph contains blue nodes and white nodes. A and B are connected, they may be merged: The above graph is DAG. Merging node {...