Changes
Page history
Update GuiSvgPlot Integration
authored
Sep 06, 2019
by
Leonard Kupper
Show whitespace changes
Inline
Side-by-side
GuiSvgPlot-Integration.md
View page @
15f2dc1d
...
...
@@ -6,4 +6,18 @@ Since the application developed in this project is a command line tool, we want
### Diagram creation in GuiSvgPlot
...
\ No newline at end of file
The original to build a svg diagram via SvgPlot looks like this:
```
String tempPath = this.guiSvgOptions.getCsvPath();
File tempCSV = new File(tempPath);
File newCsv = new File(file.getAbsolutePath().replaceAll(".svg", ".csv"));
if (tempCSV.exists())
Files.copy(tempCSV.toPath(), newCsv.toPath(), StandardCopyOption.REPLACE_EXISTING);
this.guiSvgOptions.setOutput(file.getAbsolutePath());
this.svgOptionsService.buildSVG(guiSvgOptions.getOptions());
this.popOver_infos.hide();
this.popOver_warnings.hide();
GuiSvgPlott.getInstance().closeWizard(true);
```
\ No newline at end of file