Skip to content

Instantly share code, notes, and snippets.

View benjaminaaron's full-sized avatar

Benjamin Degenhart benjaminaaron

View GitHub Profile
@benjaminaaron
benjaminaaron / Simple.java
Created May 9, 2015 16:49
Trying to achieve a simple Tree-Layout with graphstream
import org.graphstream.graph.Graph;
import org.graphstream.graph.implementations.SingleGraph;
import org.graphstream.ui.layout.HierarchicalLayout;
import org.graphstream.ui.view.Viewer;
public class Simple {
public static void main(String[] args) {
Graph graph = new SingleGraph("Test");