是否有某种方法可以从grappa(graphviz)库中的Graph对象获取表示图的点语言?
This snippet is from DemoApplet1_2.java :
StringWriter theGraph = new StringWriter();
graph.printGraph(theGraph);
theGraph.toString();
I think that will give you what you're looking for.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.