public Graph GenerateDungeonFromString(string startGraphString, string recipeGraphString,
                                               int maxConnections = 4,
                                               int recipeLength   = 1)
        {
            Graph graph = new Graph();

            graph.LoadGraphFromString(startGraphString);
            List <Recipe> recipes = Recipe.LoadRecipesFromString(recipeGraphString, recipeLength);

            return(GenerateDungeon(graph, recipes, maxConnections));
        }
        public void LoadPattern(string input, string output)
        {
            patternMatch = new Graph();
            patternMatch.LoadGraphFromString(input);

            patternApply = new List <Graph>();
            Graph outputGraph = new Graph();

            outputGraph.LoadGraphFromString(output);
            patternApply.Add(outputGraph);
        }