summaryrefslogtreecommitdiff
path: root/src/data/style.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-10-06 16:06:06 +0200
committerAleks Kissinger <aleks0@gmail.com>2018-10-06 16:06:06 +0200
commitc0b8dea3d3b93fd4b87e5311b6c6422a7ccdb723 (patch)
tree7bea34c2d86c2d68a6c6d4d9e003c8573dc77449 /src/data/style.cpp
parent6359b28b155355e0be67961cc21eccdbd2c61cc2 (diff)
removed EdgeStyle and NodeStyle classes
Diffstat (limited to 'src/data/style.cpp')
-rw-r--r--src/data/style.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/data/style.cpp b/src/data/style.cpp
index 39314cb..7af95ca 100644
--- a/src/data/style.cpp
+++ b/src/data/style.cpp
@@ -19,6 +19,10 @@
#include "style.h"
#include "tikzit.h"
+Style *noneStyle = new Style("none", new GraphElementData());
+Style *unknownStyle = new Style("unknown", new GraphElementData({GraphElementProperty("tikzit fill", "blue")}));
+Style *noneEdgeStyle = new Style("none", new GraphElementData({GraphElementProperty("-")}));
+
Style::Style() : _name("none")
{
_data = new GraphElementData(this);