Provides the yFiles library's most fundamental classes and interfaces that model
an efficient graph data type (class
Graph
), its nodes and edges (classes
Node
and
Edge
), and related container structures and
iteration mechanisms (class
YList
and interface
ICursor
).
Classes
| Class | Description | |
|---|---|---|
| AlgorithmAbortedException |
Exception that gets thrown by an algorithm when
the thread executing the algorithm was interrupted.
| |
| Bfs | This class provides services that center around breadth first search (BFS) | |
| Bipartitions | Responsible for graph bipartition problems. | |
| Centrality | This class provides methods to determine various centrality indices of nodes or edges of a graph. | |
| Cycles | Responsible for finding cycles within a graph that have certain properties. | |
| Dfs | Framework class for depth first search (DFS) based algorithms. | |
| Edge | ||
| EdgeList |
Specialized list implementation for instances of type
Edge
.
| |
| Graph | This class implements a directed graph structure. | |
| GraphChecker |
Provides methods that check structural properties of
a given graph.
| |
| GraphConnectivity | Provides algorithms for determining certain connectivity components within a graph. | |
| GraphCopyFactory |
Very simple default implementation of a Copy Factory that creates
Graph
instances
and simply delegates to the
CreateNode()()()()
and
CreateEdge(Node, Node)
method.
| |
| GraphEvent | An event which indicates that a graph structure change occurred. | |
| GraphObject | ||
| Groups | This class provides methods for automatically partitioning nodes of a graph into groups. | |
| IndependentSets | This class provides methods for calculating independent sets. | |
| InvalidGraphStructureException | Exception thrown when a graph-structural precondition is violated. | |
| ListCell |
Represents a so-called "cell" or "link" of the doubly linked list implementation
YList
.
| |
| NetworkFlows |
Provides sophisticated algorithms for solving classical network flow problems
like MinCostFlow or MaxFlow.
| |
| Node |
Represents a so-called node in the directed graph data type
Graph
.
| |
| NodeList |
Specialized list implementation for instances of type
Node
.
| |
| NodeOrders |
Provides graph algorithms that order the nodes of a graph
by a specific criterion.
| |
| Paths |
Responsible for finding paths within a graph that have
certain properties.
| |
| RankAssignments | Provides algorithms for solving the rank assignment problem. | |
| ShortestPaths |
Provides diverse algorithms and helper methods for solving the shortest path problem
on weighted graphs.
| |
| Sorting |
This class provides methods for efficiently sorting graph elements in graph
structures.
| |
| SpanningTrees | Provides (minimum) spanning tree algorithms for graphs. | |
| Transitivity |
Provides algorithms to compute reachability information for directed, acyclic
graphs.
| |
| Trees |
Provides diverse algorithms and services
for tree-structured graphs or subgraphs.
| |
| YList |
An implementation of a doubly linked list that provides direct access to the
cells that store the elements.
| |
| YList..::..ListCursorImpl | Cursor implementation for class YList. |
Interfaces
| Interface | Description | |
|---|---|---|
| ICursor | A general interface for iterating over a collection of objects. | |
| IDataAcceptor | A general interface for setting data. | |
| IDataMap |
Interface that combines the
IDataProvider
and
IDataAcceptor
interfaces.
| |
| IDataProvider | A general interface for data provision. | |
| IEdgeCursor | A cursor interface for iterating over edges. | |
| IEdgeMap | Provides access to data associated with an edge. | |
| IGraphInterface |
An interface that describes the structural information of a graph and the data
that is associated with its nodes and edges.
| |
| IGraphListener | The listener interface for receiving graph events. | |
| INodeCursor | A cursor interface for iterating over nodes. | |
| INodeMap | Provides access to data associated with a node. | |
| INodeSequencer |
Generic Interface for classes that provide an ordering
for the nodes of a graph.
|
Enumerations
| Enumeration | Description | |
|---|---|---|
| BfsDirection | ||
| GraphElementInsertion | Object insertion specifier. | |
| GraphEventType |
Remarks
Provides the yFiles library's most fundamental classes and interfaces that model
an efficient graph data type (class
Graph
), its nodes and edges (classes
Node
and
Edge
), and related container structures and
iteration mechanisms (class
YList
and interface
ICursor
).
Furthermore, this package also defines the infrastructure for association of additional
data with graph elements, namely "data accessors," i.e., interfaces
IDataAcceptor
,
IDataProvider
, and
IDataMap
.
The section on Binding Data to Graph Elements explains the concept of data accessors.
Related Documentation
See the yFiles Developer's Guide chapter Working With the Graph Structure for detailed discussions of using the graph data type and its functionality.The section on Binding Data to Graph Elements explains the concept of data accessors.