summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/src/graph.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/src/graph.cpp b/lib/src/graph.cpp
index a84084f..1426609 100644
--- a/lib/src/graph.cpp
+++ b/lib/src/graph.cpp
@@ -482,6 +482,7 @@ graph const graph::rotate() {
std::string graph::write() const {
std::string output;
+ output += "\"Lx\"->" + std::to_string(L.x) + ",\"Ly\"->" + std::to_string(L.y) + ",";
output += "\"vr\"->{";
for (const graph::vertex &v : vertices) {
output += "{" + std::to_string(v.r.x) + "," + std::to_string(v.r.y) + "},";