Package | Description |
---|---|
com.yworks.yfiles.algorithms | |
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.labelmodels |
Contains interfaces and default implementations for label layout models.
|
com.yworks.yfiles.graph.portlocationmodels |
Contains interfaces and default implementations for port location models.
|
com.yworks.yfiles.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
com.yworks.yfiles.utils |
Contains classes and interfaces which support the yFiles collection and event handling framework,
and other utility classes.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Class and Description |
---|---|
class |
EdgeList
Specialized list implementation for instances of type
Edge . |
class |
NodeList
Specialized list implementation for instances of type
Node . |
class |
YList
An implementation of a doubly linked list that provides direct access to the cells that store the elements.
|
Modifier and Type | Method and Description |
---|---|
IEnumerable<Edge> |
Node.getEdges()
|
IEnumerable<Edge> |
Graph.getEdges()
|
IEnumerable<Edge> |
Node.getInEdges()
|
IEnumerable<Node> |
Node.getNeighbors()
|
IEnumerable<Node> |
Graph.getNodes()
|
IEnumerable<Edge> |
Node.getOutEdges()
|
IEnumerable<Node> |
Node.getPredecessors()
|
IEnumerable<Node> |
Node.getSuccessors()
|
Modifier and Type | Method and Description |
---|---|
default IEnumerable<IStripe> |
ITable.findStripes(INode node,
PointD location,
StripeTypes stripeTypes,
Predicate<IStripe> filter)
Convenience method to find all stripes underneath a certain point.
|
static IEnumerable<StripeSubregion> |
ITable.findStripes(PointD location,
StripeTypes stripeTypes,
StripeSubregionTypes subregionTypes,
CanvasControl canvas,
Predicate<StripeSubregion> filter)
Used as a callback to find the items underneath a certain point.
|
IEnumerable<IColumn> |
IColumn.getChildColumns()
Returns the child columns.
|
IEnumerable<IRow> |
IRow.getChildRows()
Returns the child rows.
|
default IEnumerable<IStripe> |
IStripe.getChildStripes()
Gets the direct children of
stripe in a table hierarchy. |
IEnumerable<IColumn> |
Table.getColumns()
The toplevel
IColumn s in this table. |
default IEnumerable<IStripe> |
IStripe.getDescendants()
Returns a collection of all descendants of
stripe . |
IEnumerable<INode> |
GroupingSupport.getDescendants(INode node)
Returns all descendants of the provided node that are part of the grouped graph.
|
IEnumerable<INode> |
GroupingSupport.getDescendantsBottomUp(INode node)
Returns all descendants of the provided node that are part of the grouped graph.
|
IEnumerable<IEdge> |
IFoldingEdgeFactory.getExistingFoldingEdges(boolean ignoreDirection)
Helper methods that can be used by the implementation of the
IFoldingEdgeConverter.addFoldingEdge(IFoldingEdgeFactory, com.yworks.yfiles.graph.IFoldingView, IEdge, com.yworks.yfiles.graph.INode, boolean, com.yworks.yfiles.graph.INode, boolean)
method to determine the folding edges that are currently part of the view and interconnect the same nodes as the folding
edge would, if it was included in the view. |
default IEnumerable<IStripe> |
IStripe.getLeaves()
Returns a collection of all descendants of
stripe that are leaves and therefore don't have any child stripes. |
IEnumerable<IEdge> |
IFoldingView.getMasterEdges(IEdge foldingEdge)
Helper method that corresponds to the
IFoldingView.getMasterItem(IModelItem) method, but is used for folding edges, only. |
IEnumerable<Object> |
MapperRegistry.getRegisteredTags() |
IEnumerable<Object> |
IMapperRegistry.getRegisteredTags()
Gets an enumerable over all tags that have been used to register mapper implementations with this interface.
|
IEnumerable<IRow> |
Table.getRows()
The toplevel
IRow s in this table. |
IEnumerable<IFoldingView> |
FoldingManager.getViews()
Yields all currently known
view instances that are managed by this
instance. |
default <T extends IPortOwner> |
IGraph.neighbors(Class<T> tType,
T portOwner)
Enumerates the neighbors of a given
IPortOwner . |
default <T extends IPortOwner> |
IGraph.predecessors(Class<T> tType,
T portOwner)
Enumerates the predecessors of a given
IPortOwner . |
default <T extends IPortOwner> |
IGraph.successors(Class<T> tType,
T portOwner)
Enumerates the successors of a given
IPortOwner . |
Modifier and Type | Class and Description |
---|---|
class |
GenericPortLocationModel
An implementation of
IPortLocationModel that can be used to create custom port location models out of existing IPortLocationModelParameter
instances. |
Modifier and Type | Method and Description |
---|---|
IEnumerable<GraphMLXmlAttribute> |
IOutputHandler.getDataTagAttributes()
Gets the XML attributes that should be added to the data element.
|
IEnumerable<GraphMLXmlAttribute> |
AbstractOutputHandler.getDataTagAttributes() |
IEnumerable<IOutputHandler> |
QueryOutputHandlersEventArgs.getHandlers()
The
IOutputHandler s that have been registered on this event argument instance so far. |
IEnumerable<IInputHandler> |
QueryInputHandlersEventArgs.getHandlers()
The
IInputHandler s that have been registered on this event argument instance so far. |
IEnumerable<IReferenceHandle> |
IReferenceHandler.getInternalHandles()
Return a collection of all registered reference handles that should be written to the GraphML shared data section.
|
IEnumerable<GraphMLXmlAttribute> |
IOutputHandler.getKeyDefinitionAttributes()
Gets the XML attributes that should be added to the key definition in the GraphML key element.
|
IEnumerable<GraphMLXmlAttribute> |
AbstractOutputHandler.getKeyDefinitionAttributes() |
Modifier and Type | Interface and Description |
---|---|
interface |
ICollection<T>
Common interface for
Collection s that also provide an enumerator . |
interface |
IList<T>
Common interface for
List s which also implement ICollection
and therefore provide the IEnumerable functionality additionally to
the java framework classes functionality. |
interface |
IListEnumerable<T>
An extension to the
Iterable interface
that allows for indexed access and retrieval of the element count. |
Modifier and Type | Class and Description |
---|---|
class |
ObservableCollection<T>
A simple default implementation of an
IObservableCollection that is backed by an ordinary Collection . |
Modifier and Type | Field and Description |
---|---|
static IEnumerable |
IEnumerable.EMPTY
An
IEnumerable that is always empty. |
Modifier and Type | Method and Description |
---|---|
default IEnumerable<T> |
IEnumerable.concat(Iterable<? extends T> second)
Creates a composite enumerable that enumerates two given iterables one after the other.
|
static <T> IEnumerable<T> |
IEnumerable.concat(Iterable<? extends T> first,
Iterable<? extends T> second)
Creates a composite enumerable that enumerates two given iterables one after the other.
|
static <T> IEnumerable<T> |
IEnumerable.create(Iterable<T> iterable)
Returns an
IEnumerable wrapping the specified Iterable . |
static <T> IEnumerable<T> |
IEnumerable.create(T value)
An
IEnumerable that enumerates a single item, only. |
Modifier and Type | Interface and Description |
---|---|
interface |
ICanvasObjectGroup
This is the interface implemented by the composite building blocks of a scene graph in a
CanvasControl . |
interface |
IGraphSelection
Manages the selection state of items in an
IGraph instance. |
interface |
ISelectionModel<T>
An interface that models the selection state of a set of items.
|
interface |
IStripeSelection
Manages the selection state of items in an
ITable instance. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultSelectionModel<T>
Default implementation of an
ISelectionModel that is based on an observable collection to hold the selected
elements. |
class |
GraphSelection
Simple implementation of the
IGraphSelection interface. |
class |
StripeSelection
Default implementation of the
IStripeSelection interface. |
Modifier and Type | Method and Description |
---|---|
IEnumerable<ICanvasObject> |
CanvasControl.getCanvasObjects()
Enumerates over all possible
ICanvasObject instances in the tree. |
IEnumerable<ICanvasObject> |
CanvasControl.getCanvasObjects(ICanvasObjectGroup group)
Enumerates over all possible
ICanvasObject instances in the tree below the given group. |
IEnumerable<ICanvasObject> |
CanvasControl.getCanvasObjects(PointD location)
Returns a list of all canvas objects in hit order at the given world coordinate location.
|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(IInputModeContext context,
PointD location)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter using a specific
ICanvasContext
as the argument to the IHitTestable.isHit(IInputModeContext, PointD) method. |
IEnumerable<IModelItem> |
GraphModelManager.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates hits on the canvas at a given world coordinate position for a given context.
|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter using a specific
ICanvasContext
as the argument to the IHitTestable.isHit(IInputModeContext, PointD) method. |
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root,
Predicate<ICanvasObject> filter)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter using a specific
ICanvasContext
as the argument to the IHitTestable.isHit(IInputModeContext, PointD) method. |
IEnumerable<IModelItem> |
GraphModelManager.hitElementsAt(PointD location)
Enumerates hits on the canvas at a given world coordinate position.
|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(PointD location)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter.
|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(PointD location,
ICanvasObjectGroup root)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter.
|
IEnumerable<ICanvasObject> |
CanvasControl.hitElementsAt(PointD location,
ICanvasObjectGroup root,
Predicate<ICanvasObject> filter)
Enumerates all hit elements in the canvas below the given group that are accepted by a given filter.
|
<T extends IModelItem> |
GraphModelManager.typedHitElementsAt(Class<T> modelItemType,
IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates hits on the canvas at a given world coordinate position in a given context.
|
<T extends IModelItem> |
GraphModelManager.typedHitElementsAt(Class<T> itemType,
PointD location)
Enumerates hits on the canvas at a given world coordinate position.
|
Modifier and Type | Method and Description |
---|---|
IEnumerable<T> |
IHitTester.enumerateHits(IInputModeContext context,
PointD location)
Yields an enumerable that enumerates the hits for a given world coordinate.
|
IEnumerable<StripeSubregion> |
StripeHitTester.enumerateHits(IInputModeContext context,
PointD location,
INode node)
Return a collection of hits at
location . |
IEnumerable<StripeSubregion> |
TableEditorInputMode.findStripes(PointD location,
StripeTypes stripeTypes,
StripeSubregionTypes subregionTypes)
Used as a callback to find the items underneath a certain point.
|
IEnumerable<StripeSubregion> |
TableEditorInputMode.findStripes(PointD location,
StripeTypes stripeTypes,
StripeSubregionTypes subregionTypes,
Predicate<StripeSubregion> filter)
Used as a callback to find the items underneath a certain point.
|
protected IEnumerable<IBend> |
OrthogonalEdgeEditingContext.getAddedBends()
Gets the previously
registered added bends. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getAdditionalSnapLines()
The collection of additional
OrthogonalSnapLine s. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getAdditionalSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
AdditionalSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
IEnumerable<IModelItem> |
MoveInputMode.getAffectedItems()
Gets an immutable snapshot of the
IModelItem s affected by the currently active gesture. |
IEnumerable<IModelItem> |
HandleInputMode.getAffectedItems()
Gets an immutable snapshot of the
IModelItem s affected by the currently modified handle
gesture. |
protected IEnumerable<OrthogonalSnapLine> |
CreateEdgeInputMode.getDummyEdgeSnapLines(GraphSnapContext context,
ISnapLineProvider provider)
Gets the snap lines lines that are induced by the current dummy edge.
|
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedNodeSnapLines()
The collection of
OrthogonalSnapLine s for fixed nodes. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedNodeSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
FixedNodeSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedPortSnapLines()
The collection of
OrthogonalSnapLine s to which ports should be snapping. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedPortSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
FixedPortSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedSegmentSnapLines()
The collection of
OrthogonalSnapLine s for fixed segments. |
IEnumerable<OrthogonalSnapLine> |
GraphSnapContext.getFixedSegmentSnapLines(SnapLineOrientation orientation,
SnapLineSnapTypes snapType,
RectD area)
Gets a subset of
FixedSegmentSnapLines that matches the given orientation , snapType
and intersects with the provided area . |
IEnumerable<IPort> |
IPortSelectionTester.getPortsInBox(IInputModeContext context,
RectD rectangle)
Returns the ports for the given marquee rectangle.
|
IEnumerable<SnapLine> |
LabelSnapContext.getSnapLines()
The collection of the
snap lines that have been added to this context. |
protected IEnumerable<SnapLine> |
NodeReshapeSnapResultProvider.getSnapLines(GraphSnapContext context,
INode node,
ReshapeRectangleContext reshapeContext,
RectD suggestedLayout)
Helper method for method
NodeReshapeSnapResultProvider.collectSnapLineResults(GraphSnapContext, CollectSnapResultsEventArgs, INode, ReshapeRectangleContext, RectD)
that gets all the SnapLine that should be checked for the currently moved node. |