aboutsummaryrefslogtreecommitdiff
path: root/structure
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2016-04-07 20:22:05 +0200
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2016-04-07 20:22:05 +0200
commitf4e0747e5991736f64aef06883e41eaefdf3f7a3 (patch)
tree4e7ab232609c5c49029a49a763abbe3aae549f29 /structure
parent313c51b76b750cdbc8d7bc94e209e7cabf515e8d (diff)
Test
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')");