This commit is contained in:
manzerbredes 2016-04-07 20:22:05 +02:00
parent 313c51b76b
commit f4e0747e59
2 changed files with 39 additions and 6 deletions

View file

@ -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')");