Package y.option

Examples of y.option.OptionItem


        IncrementalHierarchicLayoutModule layoutModule = new IncrementalHierarchicLayoutModule();

        layoutModule.setBufferedMode(true);

        OptionHandler options = layoutModule.getOptionHandler();
        OptionItem item = options.getItem("GROUP_LAYERING_STRATEGY");
        item.setValue("RECURSIVE_LAYERING");
        item = options.getItem("SELECTED_ELEMENTS_INCREMENTALLY");
        item.setValue(true);

        return layoutModule;
    }
View Full Code Here


        SmartOrganicLayoutModule layoutModule = new SmartOrganicLayoutModule();

        layoutModule.setBufferedMode(true);

        OptionHandler options = layoutModule.getOptionHandler();
        OptionItem item = options.getItem("AVOID_NODE_EDGE_OVERLAPS");
        item.setValue(true);

        item = options.getItem("MINIMAL_NODE_DISTANCE");
        item.setValue(30d);

        item = options.getItem("SCOPE");
        item.setValue("MAINLY_SUBSET");

        item = options.getItem("ACTIVATE_DETERMINISTIC_MODE");
        item.setValue(true);

        return layoutModule;
    }
View Full Code Here

TOP

Related Classes of y.option.OptionItem

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.