Quantcast
Channel: quickgraph Work Item Rss Feed
Viewing all articles
Browse latest Browse all 25

Created Unassigned: Finding Disconnected Subgraphs or Components [25751]

$
0
0
In my graphs, I generally have at least two completely disconnected subgraphs or components. These components may be of 1 or N vertices. I can easily detect orphans, but not components.

Orphans are easy:

myGraph.Vertices.Where(v => myGraph.InDegree(v) == 0)

I have no idea how to get the disconnected components.

Viewing all articles
Browse latest Browse all 25

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>