Package org.graphstream.ui.layout.springbox.implementations

Examples of org.graphstream.ui.layout.springbox.implementations.SpringBox


  private void checkLayout() {
    if (!layout)
      return;

    SpringBox sbox = new SpringBox();

    GraphReplay replay = new GraphReplay("replay");
    replay.addSink(sbox);
    sbox.addAttributeSink(buffer);

    replay.replay(buffer);

    do
      sbox.compute();
    while (sbox.getStabilization() < 0.9);

    buffer.removeSink(sbox);
    sbox.removeAttributeSink(buffer);
  }
View Full Code Here

TOP

Related Classes of org.graphstream.ui.layout.springbox.implementations.SpringBox

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.