import * as $N from "@/core/base/BaseNode" ; import * as $G from "@/core/base/BaseGraph" ; import * as $PFS from "@/traversal/PFS" ; todo param graph param source param target function Dijkstra ( graph , source , target ? ) { let config = $PFS . preparePFSStandardConfig ( ) ; if ( target ) { config . goal_node = target ; } return $PFS . PFS ( graph , source , config ) ; } export { Dijkstra } ;