首页 > 解决方案 > 使用 graphviz4net 读取图形 .dot 文件时出现堆栈溢出异常

问题描述

我想从带有多个10000节点的点文件中读取图形,但我stack overflow exception在同一行。

到目前为止,我已经尝试过:

graph = Graphviz4Net.Dot.AntlrParser.AntlrParserAdapter<int>.GetParser().Parse(System.IO.File.ReadAllText("graph.dot"));
graph = AntlrParserAdapter<int>.GetParser().Parse(System.IO.File.ReadAllText("graph.dot"));

而且我的想法已经不多了。他们的文档并不丰富。

标签: c#graphstack-overflowgraphviz

解决方案


推荐阅读