在我的java项目中,我在这个库"graphstream“中使用了图形。
我需要将我的图形保存在一个类型文件"Graphviz Dot“中,即:节点,边,节点属性,边属性。我通常这样做,将我的图形保存在文件中:
Graph graph = new MultiGraph(strId, strictChecking, autoCreate);
// create nodes, edges, node attributes, edge attributes...
FileSinkDOT fs = new FileSinkDOT();
fs.writeAll(graph, filePath);
问题:当我打开或加载文件时,我看不到边缘属性。谁知道"graphstream“,知道我能保存这个文件吗?
谢谢你的帮助。
发布于 2015-02-13 17:31:53
现在这个问题应该已经解决了。检查nightly builds。
https://stackoverflow.com/questions/27779369
复制相似问题