no message
This commit is contained in:
@@ -43,12 +43,12 @@ public class SaveGraph extends Pass<File> {
|
||||
if (target.exists() && !target.delete())
|
||||
throw new PassException("Не удается удалить предыдущий файл " + Utils_.Brackets(target.getAbsolutePath()));
|
||||
//-
|
||||
mxGraph graph = graphForm.control.getGraph();
|
||||
mxGraph graph = graphForm.getControl().getGraph();
|
||||
BufferedImage image = mxCellRenderer.createBufferedImage(graph,
|
||||
null, 1, Color.WHITE,
|
||||
graphForm.control.isAntiAlias(),
|
||||
graphForm.getControl().isAntiAlias(),
|
||||
null,
|
||||
graphForm.control.getCanvas());
|
||||
graphForm.getControl().getCanvas());
|
||||
// Creates the URL-encoded XML data
|
||||
mxCodec codec = new mxCodec();
|
||||
String xml = URLEncoder.encode(mxXmlUtils.getXml(codec.encode(graph.getModel())), "UTF-8");
|
||||
|
||||
Reference in New Issue
Block a user