pub fn depth_first(
start: EntityId,
budget: Budget,
successors: impl FnMut(EntityId) -> Vec<EntityId>,
) -> WalkExpand description
Walk depth-first from start, following successors.
successors returns the entities reachable in one step. It is a closure
rather than a fixed rule because the model does not know which references
are meaningful – containment, aggregation and voiding are all references,
and only a domain crate can tell them apart.