[RSS]

Orthogonal Layout Feature API Review

Submitter: Kris.Richards@Sun.COM

Type: Fast Track

Tracking Issue: 133712

Short Description

Add orthogonal layout feature to visual 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, createOrthogonalLayout (GraphScene<N,E> graphScene, boolean animate) to the org.netbeans.api.visual.graph.layout.GraphLayoutFactory class. This call would return a new OrthogonalLayout which is a GraphLayout. The OrthogonalLayout is not part of the API.

Use Cases

  1. User wants to produce an orthogonal layout on a graph.

Summary of Changes

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

apichanges.xml

        <change>
            <api name="general"/>
            <summary>GraphLayoutFactory.createOrthogonalGraphLayout added</summary>
            <version major="2" minor="12"/>
            <date day="12" month="3" year="2008"/>
            <author login="krichard"/>
            <compatibility addition="yes"/>
            <description>
                OrthogonalGraphLayout 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.

Change Sets

  1. http://hg.netbeans.org/uml-meteora/rev/2b56f7b9469b
  2. http://hg.netbeans.org/uml-meteora/rev/d807d542ec6f
  3. http://hg.netbeans.org/uml-meteora/rev/db82fdff5347
  4. http://hg.netbeans.org/uml-meteora/rev/9323fa8eb777