However, another way to understand the behavior of the ecological community S when species B goes extinct is to choose one relevant mechanistic relationship between the species of your ecological community, for example, the predation-relationship and to represent it on a graph S', each species being a node and two nodes being connected by an oriented edge if one species prey on the other one.