参考官方文档Generating layouts for graph drawing.
参考官方文档Chapter 21. Reading and writing graphs from and to files