Update GuiSvgPlot Integration authored by Leonard Kupper's avatar Leonard Kupper
......@@ -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