Examples of GraphLayout


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

Examples of fbench.graph.GraphLayout

    TitledBorder fbTypeBorder = BorderFactory.createTitledBorder(" FB Preview ");
    Font titleFont = fbTypeBorder.getTitleFont();
    fbTypeBorder.setTitleFont(titleFont.deriveFont(new Float(10)));
    fbPreviewPane = new JPanel();
    fbPreviewPane.setPreferredSize(new Dimension(100,150));
    fbPreviewPane.setLayout(new GraphLayout());
    fbPreviewPane.setBackground(Color.white);
    fbPreviewPane.setBorder(fbTypeBorder);

    addFBButton.setToolTipText("Load function block");
    addFBButton.setBorder(new BevelBorder(BevelBorder.RAISED));
View Full Code Here

Examples of org.netbeans.api.visual.graph.layout.GraphLayout

                this.setEdgeSource(e, e.getFrom());
                this.setEdgeTarget(e, e.getTo());
            }
        }

        GraphLayout layout = new HierarchicalGraphLayout();//GridGraphLayout();
        SceneLayout sceneLayout = LayoutFactory.createSceneGraphLayout(this, layout);
        sceneLayout.invokeLayout();

        this.validate();
    }
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.