nitc :: NeoModel :: collect_model_edges
model
Actually collect all out_edges from all nodes.
# Collect all edges from the current `model`. # # Actually collect all out_edges from all nodes. private fun collect_model_edges(model: Model): Collection[NeoEdge] do var edges = new HashSet[NeoEdge] for node in nodes.values do edges.add_all(node.out_edges) return edges end