[clean] clean code

This commit is contained in:
2021-01-07 16:44:03 +00:00
parent e0ed0f8f5b
commit a224613c2b
28 changed files with 442 additions and 1416 deletions

21
resources/preview.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="graph-creator.css" />
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.0/FileSaver.min.js"></script>
</head>
<body>
<div class="container">
<div id="toolbox">
<input type="file" id="hidden-file-upload"><input id="upload-input" type="image" title="upload graph" src="upload-icon.png" alt="upload graph"> &nbsp;
<!-- <input type="image" id="download-input" title="download graph" src="download-icon.png" alt="download graph"> -->
<input type="image" id="delete-graph" title="delete graph" src="trash-icon.png" alt="delete graph">
</div>
</div>
<script src="graph-creator.js"></script>
</body>
</html>