Class ModelGraph


  • public class ModelGraph
    extends Object
    A model graph contains the dependency graph of config models.
    Since:
    5.1
    Author:
    Ulf Lilleengen
    • Method Detail

      • topologicalSort

        public List<ModelNode> topologicalSort()
        Performs a topological sort ot the models stored in this graph. The algorithm is based on Kahn topological sort.
        Returns:
        a sorted list of ModelNode in dependency order.