QuickGraph icon indicating copy to clipboard operation
QuickGraph copied to clipboard

ConnectedComponentsAlgorithm.Components dictionary

Open mrlucmorin opened this issue 6 years ago • 0 comments

To the author,

Is there a semantic/technical reason to have the ConnectedComponentsAlgorithm.Components defined as

IDictionary<TVertex, int> instead of IDictionary<int, IEnumerable<TVertex>>

or was it just the way Peli had defined it originally? I think having the int as the key would make more sense from a grouping perspective, but it could be that I don't see the full picture.

Any comments?

Thank you for your work on this library BTW :-)

Cheers

mrlucmorin avatar Feb 26 '19 15:02 mrlucmorin