GraphLibraryHierarchicalLayoutFeatureAPIReview

Hierarchical Layout Feature API Review

Submitter: Kris.Richards@Sun.COM

Type: Fast Track

Tracking Issue: 133716

Short Description

Add a hierarchical layout feature to the graph library.

Target Milestone

NetBeans 6.5

Dependencies

There are currently no dependencies on this addition. These new classes depend only on standard JDK classes.

Change in Current Architecture

Add a single method call, createHierarchicalLayout (GraphScene<N,E> graphScene, boolean animate) to the org.netbeans.api.visual.graph.layout.GraphLayoutFactory class. This call would return a new HierarchicalLayout which is a GraphLayout. The HierarchicalLayout is not part of the API.

Use Cases

User wants to produce a hierarchical layout with a graph.

Summary of Changes

Add a single method call, createHierarchicalLayout (GraphScene<N,E> graphScene, boolean animate) to the org.netbeans.api.visual.graph.layout.GraphLayoutFactory class.

apichanges.xml

        <change>
            <api name="general"/>
            <summary>GraphLayoutFactory.createHierarchicalGraphLayout added</summary>
            <version major="2" minor="12"/>
            <date day="12" month="3" year="2008"/>
            <author login="krichard"/>
            <compatibility addition="yes"/>
            <description>
                HierarchicalGraphLayout added.
            </description>
            <class package="org.netbeans.api.visual.graph.layout" name="GraphLayoutFactory" link="yes"/>
            <issue number="129948"/>
        </change>

Impacted Interfaces

There are no current interfaces being impacted by this addition.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo