the Graph to use for the traversal.
Cell whose children should be checked.
Optional boolean that specifies if edges should be ignored if the opposite end is not a child of the given parent cell. Default is false.
Optional boolean that specifies if outgoing or incoming edges
should be counted for a tree root. If false then outgoing edges will be
counted. Default is false.
Returns all children in the given parent which do not have incoming edges. If the result is empty then the with the greatest difference between incoming and outgoing edges is returned.