Package y.view.hierarchy

Provides classes and interfaces for managing and viewing graph hierarchies (a.k.a. hierarchically organized graphs) where nodes can be nested within other nodes to arbitrary depth.

See:
          Description

Interface Summary
AutoBoundsFeature Additional interface for node realizers whose bounds may be determined by other factors then explicit bound assignment.
GenericGroupNodeRealizer.GenericAutoBoundsFeature Additional interface for node realizers whose bounds may be determined by other factors then explicit bound assignment.
GroupFeature This is a common interface for group node realizers.
HierarchyListener The listener interface for receiving HierarchyEvents.
HierarchyManager.NodeVisitor Callback interface that allows to perform some action when nodes within the hierarchy get visited in a certain order.
InterEdgeConfigurator Callback interface that is used by class HierarchyManager whenever the state of an edge/inter-edge changes.
 

Class Summary
DefaultGenericAutoBoundsFeature This class is an implementation of interface GenericGroupNodeRealizer.GenericAutoBoundsFeature and is responsible for assigning node bounds for node realizers whose bounds may be determined by other factors then explicit bound assignment.
DefaultHierarchyGraphFactory This is the default graph factory used by HierarchyManager to create and configure new graph elements within the hierarchy.
DefaultInterEdgeConfigurator This default implementation of the InterEdgeConfigurator performs some simple heuristics.
DefaultNodeChangePropagator This Graph2DListeners translates incoming Graph2DEvents that signal node label changes to hierarchy events that signal node changes.
GenericGroupNodeRealizer This class is a specialization of GenericNodeRealizer for group and folder nodes.
Graph2DHierarchyClipboard Provides clipboard functionality for diagrams that are hierarchically organized by a HierarchyManager instance.
Graph2DHierarchyUndoManager This class provides undoability and redoability support for a hierarchy of graphs.
GroupLayoutConfigurator This convenience class helps to prepare a hierarchically grouped Graph2D for an automatic assignment of layout information.
GroupLayoutConfigurator.MinNodeSizeDataProvider A dataprovider that returns minimal sizes of node realizers that are provided through the node realizer's SizeConstraintProvider, see NodeRealizer.getSizeConstraintProvider()
GroupNodePainter This class is an implementation of GenericNodeRealizer.Painter for Group/Folder nodes.
GroupNodeRealizer A node realizer that is crafted to represent group and folder nodes within a graph hierarchy.
GroupNodeRealizer.StateChangeListener This static inner class can be used to automatically adjust the groupClosed property of GroupFeature instances.
HierarchyCreateEdgeMode A specialized CreateEdgeMode suitable for graphs that contain groups nodes.
HierarchyEditMode A specialized EditMode suitable for editing hierarchically organized graphs.
HierarchyEvent Encapsulates information describing changes to a graph hierarchy and used to notify hierarchy listeners of the change.
HierarchyHotSpotMode A specialized HotSpotMode suitable for editing hierarchically organized graphs.
HierarchyJTree A JTree configured to display the hierarchically organized nodes within a HierarchyManager.
HierarchyManager This class manages a hierarchy of grouped nodes and nested graphs.
HierarchyMoveSelectionMode A specialized MoveSelectionMode suitable for graphs that contain group nodes.
HierarchySelectionBoxMode A specialized SelectionBoxMode suitable for graphs that contain group nodes.
HierarchyTreeCellRenderer Default TreeCellRenderer to visualize elements within HierarchyTreeModel.
HierarchyTreeModel This class represents a tree model view of a graph hierarchy managed by HierarchyManager.
HierarchyTreeSelectionModel This TreeSelectionModel represents the selection state of the nodes within a graph hierarchy.
HierarchyTreeTransferHandler A transfer handler for HierarchyJTree that allows to reorganize the hierarchical group structure by a drag and drop gesture on the tree elements.
ProxyAutoBoundsNodeRealizer A proxy node realizer that implements the auto bounds feature.
 

Package y.view.hierarchy Description

Provides classes and interfaces for managing and viewing graph hierarchies (a.k.a. hierarchically organized graphs) where nodes can be nested within other nodes to arbitrary depth.

Most prominent class of this package is HierarchyManager. It adds support for grouping and nesting to a yet "flat" graph, and maintains the model that is behind graph hierarchies.
Further classes provide functionality that extend corresponding classes from package y.view to suit the specialized needs of hierarchically organized graphs.

Related Documentation

See the yFiles Developer's Guide chapter on Graph Hierarchies for a description on the concepts of hierarchically organized graphs.

 
Your browser does not support SVG content.

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