Package org.graphstream.ui.layout

Examples of org.graphstream.ui.layout.Layout


    Viewer viewer = new Viewer(this,
        Viewer.ThreadingModel.GRAPH_IN_ANOTHER_THREAD);
    GraphRenderer renderer = Viewer.newGraphRenderer();
    viewer.addView(Viewer.DEFAULT_VIEW_ID, renderer);
    if (autoLayout) {
      Layout layout = Layouts.newLayoutAlgorithm();
      viewer.enableAutoLayout(layout);
    }
    return viewer;
  }
View Full Code Here

TOP

Related Classes of org.graphstream.ui.layout.Layout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.