Search this API

y.module
Class RadialLayoutModule

java.lang.Object
  extended by y.module.YModule
      extended by y.module.LayoutModule
          extended by y.module.RadialLayoutModule

public class RadialLayoutModule
extends LayoutModule

This module represents an interactive configurator and launcher for RadialLayouter.

 

Field Summary
protected static java.lang.String ITEM_CENTER_STRATEGY
           
protected static java.lang.String ITEM_CONSIDER_NODE_LABELS
           
protected static java.lang.String ITEM_EDGE_BUNDLING_STRENGTH
           
protected static java.lang.String ITEM_EDGE_ROUTING_STRATEGY
           
protected static java.lang.String ITEM_EDGE_SMOOTHNESS
           
protected static java.lang.String ITEM_LAYERING_STRATEGY
           
protected static java.lang.String ITEM_MAXIMAL_CHILD_SECTOR_SIZE
           
protected static java.lang.String ITEM_MINIMAL_LAYER_DISTANCE
           
protected static java.lang.String ITEM_MINIMAL_NODE_DISTANCE
           
protected static java.lang.String MODULE_RADIAL
           
protected static java.lang.String SECTION_GENERAL
           
protected static java.lang.String VALUE_CENTER_CENTRAL
           
protected static java.lang.String VALUE_CENTER_DIRECTED
           
protected static java.lang.String VALUE_CENTER_SELECTED
           
protected static java.lang.String VALUE_CENTER_WEIGHTED_CENTRAL
           
protected static java.lang.String VALUE_EDGE_ARC
           
protected static java.lang.String VALUE_EDGE_BUNDLES
           
protected static java.lang.String VALUE_EDGE_POLYLINE
           
protected static java.lang.String VALUE_LAYERING_BFS
           
protected static java.lang.String VALUE_LAYERING_HIERARCHICAL
           
 
Fields inherited from class y.module.YModule
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS
 
Constructor Summary
RadialLayoutModule()
          Creates an instance of this module.
 
Method Summary
protected  void configure(RadialLayouter radial, OptionHandler options)
          Configures the module's layout algorithm according to the given options.
protected  OptionHandler createOptionHandler()
          Creates an OptionHandler and adds the option items used by this module.
protected  void mainrun()
          Main module execution routine.
 
Methods inherited from class y.module.LayoutModule
backupDataProvider, createAnimationPlayer, createLayoutExecutor, createLayoutMorpher, getBufferedMode, getLayoutExecutor, isAbortable, isMorphingEnabled, isPortIntersectionCalculatorEnabled, launchLayouter, launchLayouter, restoreDataProvider, setBufferedMode, setLayoutExecutor, setMorphingEnabled, setPortIntersectionCalculatorEnabled, useEventDispatchThread
 
Methods inherited from class y.module.YModule
addModuleListener, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleListeners, getModuleName, getOptionHandler, getTimer, getView, init, initGuiFactory, isBackupRealizersEnabled, removeModuleListener, run, setBackupRealizersEnabled, setExitStatus, setGraph2D, setModuleName, setOptionHandler, start, startAsThread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE_RADIAL

protected static final java.lang.String MODULE_RADIAL
See Also:
Constant Field Values

SECTION_GENERAL

protected static final java.lang.String SECTION_GENERAL
See Also:
Constant Field Values

ITEM_CENTER_STRATEGY

protected static final java.lang.String ITEM_CENTER_STRATEGY
See Also:
Constant Field Values

VALUE_CENTER_DIRECTED

protected static final java.lang.String VALUE_CENTER_DIRECTED
See Also:
Constant Field Values

VALUE_CENTER_CENTRAL

protected static final java.lang.String VALUE_CENTER_CENTRAL
See Also:
Constant Field Values

VALUE_CENTER_WEIGHTED_CENTRAL

protected static final java.lang.String VALUE_CENTER_WEIGHTED_CENTRAL
See Also:
Constant Field Values

VALUE_CENTER_SELECTED

protected static final java.lang.String VALUE_CENTER_SELECTED
See Also:
Constant Field Values

ITEM_LAYERING_STRATEGY

protected static final java.lang.String ITEM_LAYERING_STRATEGY
See Also:
Constant Field Values

VALUE_LAYERING_BFS

protected static final java.lang.String VALUE_LAYERING_BFS
See Also:
Constant Field Values

VALUE_LAYERING_HIERARCHICAL

protected static final java.lang.String VALUE_LAYERING_HIERARCHICAL
See Also:
Constant Field Values

ITEM_MINIMAL_LAYER_DISTANCE

protected static final java.lang.String ITEM_MINIMAL_LAYER_DISTANCE
See Also:
Constant Field Values

ITEM_MINIMAL_NODE_DISTANCE

protected static final java.lang.String ITEM_MINIMAL_NODE_DISTANCE
See Also:
Constant Field Values

ITEM_MAXIMAL_CHILD_SECTOR_SIZE

protected static final java.lang.String ITEM_MAXIMAL_CHILD_SECTOR_SIZE
See Also:
Constant Field Values

ITEM_EDGE_ROUTING_STRATEGY

protected static final java.lang.String ITEM_EDGE_ROUTING_STRATEGY
See Also:
Constant Field Values

VALUE_EDGE_POLYLINE

protected static final java.lang.String VALUE_EDGE_POLYLINE
See Also:
Constant Field Values

VALUE_EDGE_ARC

protected static final java.lang.String VALUE_EDGE_ARC
See Also:
Constant Field Values

VALUE_EDGE_BUNDLES

protected static final java.lang.String VALUE_EDGE_BUNDLES
See Also:
Constant Field Values

ITEM_EDGE_SMOOTHNESS

protected static final java.lang.String ITEM_EDGE_SMOOTHNESS
See Also:
Constant Field Values

ITEM_CONSIDER_NODE_LABELS

protected static final java.lang.String ITEM_CONSIDER_NODE_LABELS
See Also:
Constant Field Values

ITEM_EDGE_BUNDLING_STRENGTH

protected static final java.lang.String ITEM_EDGE_BUNDLING_STRENGTH
See Also:
Constant Field Values
Constructor Detail

RadialLayoutModule

public RadialLayoutModule()
Creates an instance of this module.

Method Detail

createOptionHandler

protected OptionHandler createOptionHandler()
Creates an OptionHandler and adds the option items used by this module.

Overrides:
createOptionHandler in class YModule
Returns:
the created OptionHandler providing module related options

mainrun

protected void mainrun()
Main module execution routine. Launches the module's underlying algorithm on the module's graph based on user options.

Specified by:
mainrun in class YModule

configure

protected void configure(RadialLayouter radial,
                         OptionHandler options)
Configures the module's layout algorithm according to the given options.

Parameters:
radial - the RadialLayouter to be configured
options - the layout options to set

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.