Hi, I am trying to figure out how best to determine if my graph is disconnected or not. I am iterating through all the nodes and if they match a certain criteria, I add them to a Graph VO that gets passed to my UI. The UI will handle disconnected graphs slightly different to connected ones so I only need a flag to say its either disconnected or not, I do not need any other info like how many sub graphs are there etc. Has anyone done something like this before? Im not quite sure how to go about this? Maybe set the total number of nodes, then do a traversal and determine if the num of nodes from the traversal is the same, if so its fully connected, or is there something in Neo that flags this? Thanks, Orla
--------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this e-mail message immediately. --------------------------------------------------------------------------- _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

