I am searching for the correct terminology and a solution for the following problem:
Given a directed (hopefully acyclic) graph, assign for each node a number, s.t. the numbers of a path are decreasing from the start to the end node. The sequences should be consistent no matter which path in the graph is chosen.
If the graph contains a cycle, then this is impossible, that is, for any numbering there is a path such that the respective numbers won't be decreasing.
If the graph is acyclic, I can suggest three ways:
I hope this helps $\ddot\smile$