aboutsummaryrefslogtreecommitdiff
path: root/structure
diff options
context:
space:
mode:
Diffstat (limited to 'structure')
-rw-r--r--structure/MyGraph.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/structure/MyGraph.java b/structure/MyGraph.java
index be9e504..77a1f77 100644
--- a/structure/MyGraph.java
+++ b/structure/MyGraph.java
@@ -23,6 +23,7 @@ public class MyGraph extends SingleGraph{
super(title);
// Allow CSS on view
System.setProperty("org.graphstream.ui.renderer", "org.graphstream.ui.j2dviewer.J2DGraphRenderer");
+
// Set graph CSS
this.addAttribute("ui.stylesheet", "url('resources/style.css')");