C# Neo4j APOC A*通过路径

C# Neo4j APOC A*通过路径,c#,neo4j,cypher,neo4j-apoc,C#,Neo4j,Cypher,Neo4j Apoc,我正在尝试使用APOC A*进行路由: match(s:Station {Name: "A"}), (e:Station { Name: "B"}) CALL apoc.algo.aStar(s, e,'Road>' ,'Length','Lat','Lon') YIELD path, weight RETURN path, weight LIMIT 1 如何指定过孔点?目前,我必须将整个路径分为块A->B、B->C、C->D等等 public class Station {

我正在尝试使用APOC A*进行路由:

match(s:Station {Name: "A"}), (e:Station { Name: "B"})
CALL apoc.algo.aStar(s, e,'Road>' ,'Length','Lat','Lon') YIELD path, weight
RETURN path, weight LIMIT 1
如何指定过孔点?目前,我必须将整个路径分为块A->B、B->C、C->D等等

public class Station {

    public long Id {get;set;}

    public string Name {get;set;}

    public double Lat {get;set;}

    public double Lon {get;set;}

}

public class Road {

    public double Length {get;set;}

}
谢谢