Package edu.uci.ics.jung.visualization

Examples of edu.uci.ics.jung.visualization.StaticLayout


     * Adds a new view to the views list, with the name key, creates all the needed
     * instances for the new view, and sets the functions and renderers related
     * @param key The new view's name
     */
    public void addView(String key) {
        putLayout(key, new StaticLayout(_myGraph));
        AbstractLayout l = getLayout(key);
        putVisualizationModel(key, new DefaultVisualizationModel(l, borderDimension));
        VisualizationModel vm = getVisualizationModel(key);
        putPR(key, new NexsmPluggableRenderer());
        PluggableRenderer pr = getPR(key);
View Full Code Here


        switch (nl) {
            case ISOMLayout:
                l = new ISOMLayout(_myGraph);
                break;
            case StaticLayout:
                l = new StaticLayout(_myGraph);
                break;
        }
       
        putLayout(key, l);
        getVisualizationModel(key).setGraphLayout(l, new Dimension(2000, 2000));
View Full Code Here

TOP

Related Classes of edu.uci.ics.jung.visualization.StaticLayout

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.