Пример #1
0
        public void ChooseModernGraph(string graphName)
        {
            if (graphName == "empty")
            {
                ScenarioData.CleanEmptyData();
            }
            var data = ScenarioData.GetByGraphName(graphName);

            _graphName = graphName;
            _g         = Traversal().WithRemote(data.Connection);
        }
Пример #2
0
 private static Edge ToEdge(string name, string graphName)
 {
     return(ScenarioData.GetByGraphName(graphName).Edges[name]);
 }
Пример #3
0
 private static Vertex ToVertex(string name, string graphName)
 {
     return(ScenarioData.GetByGraphName(graphName).Vertices[name]);
 }