dijkstra-graph-path Class for calculation shortest path in graph based on algorithm "Dijkstra". Here code samples: $path = (new GraphPathCalcBasedOnWorkflow())->getPath($fromState, $toState, $workflow);