Package com.intellij.openapi.graph.layout

Examples of com.intellij.openapi.graph.layout.GraphLayout


    if (GraphSettingsProvider.getInstance(project).getSettings(view.getGraph2D()).isFitContentAfterLayout()) {
      GraphManager.getGraphManager().createBufferedLayouter(layouter).doLayout(view.getGraph2D());
      view.fitContent();
    } else {
      // with animation
      GraphLayout layout = GraphManager.getGraphManager().createBufferedLayouter(layouter).calcLayout(view.getGraph2D());


      LayoutMorpher morpher = GraphManager.getGraphManager().createLayoutMorpher(view, layout);
      morpher.setPreferredDuration(800);
      morpher.setKeepZoomFactor(true);
View Full Code Here

TOP

Related Classes of com.intellij.openapi.graph.layout.GraphLayout

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.