Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 JGraphx,我想将导出图放到 SVG 文件中。我试过 Document document = (Document) mxCellRenderer.createSvgDocument(safetyTreeGraph, null, 1, Color.WHITE, null);了,但我不知道如何将该 SVG 文档输出到本地。那么接下来我该怎么做呢?
Document document = (Document) mxCellRenderer.createSvgDocument(safetyTreeGraph, null, 1, Color.WHITE, null);