Package net.wigis.graph.dnv.layout.implementations

Examples of net.wigis.graph.dnv.layout.implementations.FruchtermanReingold.runLayout()


  private static void writeGraphs( DNVGraph yearGraph, DNVGraph totalGraph )
  {
    if( yearGraph != null )
    {
      FruchtermanReingold fr = new FruchtermanReingold();
      fr.runLayout( 100, 100, yearGraph, 0.1f, 0, false, false, true );
      yearGraph.writeGraph( Settings.GRAPHS_PATH + "WC_" + yearGraph.getName() + ".dnv" );
      fr.runLayout( 100, 100, totalGraph, 0.1f, 0, false, false, true );
      totalGraph.writeGraph( Settings.GRAPHS_PATH + "WC_until_" + yearGraph.getName() + ".dnv" );
    }
  }
View Full Code Here


    if( yearGraph != null )
    {
      FruchtermanReingold fr = new FruchtermanReingold();
      fr.runLayout( 100, 100, yearGraph, 0.1f, 0, false, false, true );
      yearGraph.writeGraph( Settings.GRAPHS_PATH + "WC_" + yearGraph.getName() + ".dnv" );
      fr.runLayout( 100, 100, totalGraph, 0.1f, 0, false, false, true );
      totalGraph.writeGraph( Settings.GRAPHS_PATH + "WC_until_" + yearGraph.getName() + ".dnv" );
    }
  }

  // private static void printArray( String[] line )
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.