documentationfor yFiles for HTML 3.0.0.3

Usages of IGraph

Properties

graphin AdjacencyGraphBuilderGets the graph used by this builder.
graphin GraphBuilderGets the graph used by this builder.
graphin GraphBuilderItemEventArgsGets the graph that can be used to modify the item.
graphin TreeBuilderGets the graph used by this builder.
sourceGraphin ClipboardOperationContextThe graph to copy the items from.
targetGraphin ClipboardOperationContextThe graph to copy the items to.
masterGraphin FoldingManagerGets the master IGraph instance that holds the complete model in expanded group node state.
clipboardGraphin GraphClipboardGets the graph that contains the clipboard's contents.
wrappedGraphin GraphWrapperBaseGets the graph that has been wrapped by this instance.
graphin IFoldingViewGets the view graph managed by this view.
sourceGraphin IGraphClipboardContextGets the source graph for the current operation.
targetGraphin IGraphClipboardContextGets the target graph for the current operation.
graphin ChildParseContext
graphin ChildWriteContext
graphin IParseContextGets the currently active graph object.
graphin IWriteContextGets the currently active graph object.
graphin CreateBendInputModeGets the graph this mode is acting upon.
edgeCreatorin CreateEdgeInputModeGets or sets the ports-based edge creation callback.
graphin CreateEdgeInputModeGets the graph this mode is acting upon.
previewGraphin CreateEdgeInputModeGets the preview graph instance that will hold the items that will render a preview of the newly created edge.
graphin EditLabelHelperGets or sets the graph instance to retrieve the default values from.
nodeCreatorin GraphEditorInputModeGets or sets the callback that is responsible for creating a new node, for instance, in response to a mouse or stylus click or touch tap.
graphin GraphInputModeGets the graph instance from the parentInputModeContext.
graphin IInputModeContextTries to retrieve an IGraph instance from an IInputModeContext.
itemCreatorin ItemDropInputModeGets or sets the callback for item creation.
previewGraphin ItemDropInputModeGets the graph displayed as item preview.
graphin LabelPositionHandlerGets the graph instance from the IInputModeContext that has been passed to the initializeDrag method.
graphin NavigationInputModeGets or sets the graph this mode operates on.
graphin LayoutExecutorGets the graph this instance is working on.
graphin LayoutExecutorAsyncGets the graph this instance is working on.
originalGraphin LayoutGraphAdapterGets the original IGraph instance.
originalGraphin StructureGraphAdapterGets the original graph instance.
graphin GraphComponentGets or sets the graph that is displayed in this control.
graphin GraphModelManagerGets or sets the graph this manager manages.
graphin GraphOverviewComponentGets or sets the graph that is rendered in the overview.
graphOverviewRendererin GraphOverviewComponentGets or sets the IObjectRenderer<IGraph> that is used to render the overview.

Fields

graphin PortRelocationHandleProviderThe graph this provider is working on.

Method Return Values

buildGraph ()in AdjacencyGraphBuilderPopulates the graph with items generated from the bound data.
buildGraph ()in GraphBuilderPopulates the graph with items generated from the bound data.
buildGraph ()in TreeBuilderPopulates the graph with items generated from the bound data.
parse (IGraph, Document, IParseContext)in GraphMLIOHandlerParses the XML document document into an graph instance.
readFromDocument (IGraph, Document)in GraphMLIOHandlerRead GraphML from an existing XML document.
readFromGraphMLText (IGraph, string)in GraphMLIOHandlerConvenience method that imports the graph from an XML data provided in a string data.
readFromURL (IGraph, string)in GraphMLIOHandlerReads GraphML content from the given url and populates the graph.
resolveGraph (IParseContext, string)in IGraphElementResolverResolve the GraphML id to an IGraph instance.
getGraph (IInputModeContext)in PortLocationModelParameterHandleGets the graph to use for setting the parameter from the context.
getGraph (IInputModeContext)in PortRelocationHandleGets the graph to use from the context.
getGraph (IRenderContext)in GraphObstacleProviderHelper method that retrieves the IGraph to use from the context

Method Parameters

run (IGraph)in AllPairsShortestPathsFinds all shortest paths between pairs of nodes from sources and sinks.
run (IGraph)in BetweennessCentralityComputes the betweenness centrality for each node and edge of a given graph.
run (IGraph)in BfsReturns the layers of nodes constructed by a breadth-first search.
run (IGraph)in BiconnectedComponentClusteringPartitions the graph into clusters based on its biconnected components.
run (IGraph)in BiconnectedComponentsDetermines the biconnected components and articulation points of a given undirected graph.
run (IGraph)in BipartitionCalculates a bipartition of the given graph, if one exists.
run (IGraph)in ChainSubstructuresReturns a list of SubstructureItems that represent isolated chains in the specified graph.
run (IGraph)in ChainsFinds all chains in a graph.
run (IGraph)in CliqueSubstructuresReturns a list of SubstructureItems that represent the (undirected) cliques in the specified graph.
run (IGraph)in ClosenessCentralityComputes the closeness centrality for the nodes of a graph.
run (IGraph)in ClusteringCoefficientCalculates the local clustering coefficient for each node and returns the average clustering coefficient.
run (IGraph)in ConnectedComponentsDetermines the connected components of a given graph.
run (IGraph)in CycleFinds a cycle in the given graph.
run (IGraph)in CycleEdgesFinds all edges that are part of at least one directed or undirected simple cycle.
run (IGraph)in CycleSubstructuresReturns a list of SubstructureItems that represent isolated cycles in the specified graph.
run (IGraph)in DegreeCentralityComputes the degree centrality for the nodes of a given graph.
run (IGraph)in EdgeBetweennessClusteringPartitions the graph into groups using edge betweenness centrality.
run (IGraph)in EigenvectorCentralityComputes an eigenvector centrality for each node of a given undirected, unweighted graph.
run (IGraph)in FeedbackEdgeSetFinds the edges of a given graph whose removal or reversal would make the graph acyclic.
run (IGraph)in GraphCentralityComputes the graph centrality for the nodes of a graph.
GraphStructureAnalyzer (IGraph, )in GraphStructureAnalyzerCreates a new instance for the given graph.
run (IGraph)in HierarchicalClusteringPartitions the graph into clusters using hierarchical clustering.
run (IGraph)in IndependentSetsPartitions the set of nodes of the given graph into independent sets.
run (IGraph)in IntersectionsCalculates intersections between the items for the given graph.
run (IGraph)in KCoreComponentsDetermines the k-Cores of a given graph.
run (IGraph)in KMeansClusteringPartitions the graph into clusters using k-means clustering.
run (IGraph)in KShortestPathsFinds the k shortest paths between pairs of the source and the sink nodes.
run (IGraph)in LabelPropagationClusteringDetects the communities in the specified input graph by applying a label propagation algorithm.
run (IGraph)in LongestPathFinds the longest directed path in an acyclic graph.
run (IGraph)in LouvainModularityClusteringDetects the communities in the specified input graph by applying the Louvain modularity method.
run (IGraph)in MaximumFlowSolves a maximum flow problem.
run (IGraph)in MinimumCostFlowSolves the minimum-cost flow problem.
run (IGraph)in NeighborhoodFinds neighbors of a set of nodes.
run (IGraph)in NodeAggregationAggregates the nodes of the given graph and creates a hierarchical clustering structure.
run (IGraph)in PageRankComputes page rank values for all nodes based on their attached edges.
run (IGraph)in PathsFinds all paths between startNodes and endNodes.
run (IGraph)in RankAssignmentSolves the rank assignment problem.
run (IGraph)in ReachabilityDetermines the set of nodes that are reachable from the startNodes.
run (IGraph)in ShortestPathFinds the shortest path between source and sink.
run (IGraph)in SingleSourceShortestPathsFinds the shortest paths between source and sinks.
run (IGraph)in SpanningTreeCalculates a minimum spanning tree or forest for the given graph.
run (IGraph)in StarSubstructuresReturns a list of SubstructureItems that represent isolated stars in the specified graph.
run (IGraph)in StronglyConnectedComponentsDetermines the strongly connected components of a given graph.
run (IGraph)in TransitiveClosureCalculates the transitive closure for a directed acyclic graph.
run (IGraph)in TransitiveEdgesCalculates the transitive edges that connect the visibleNodes in the specified graph.
run (IGraph)in TransitiveReductionCalculates the transitive reduction for a directed acyclic graph.
run (IGraph)in TreeAnalysisAnalyzes a tree graph and calculates relevant properties of the tree structure.
run (IGraph)in TreeSubstructuresReturns a list of SubstructureItems that represent isolated trees in the specified graph.
run (IGraph)in WeightCentralityComputes the weight centrality for the nodes of a graph.
AdjacencyGraphBuilder (IGraph?)in AdjacencyGraphBuilderInitializes a new instance of the AdjacencyGraphBuilder class that operates on the given graph.
applyStyleBindings (IGraph, IEdge, TDataItem)in EdgeCreatorResolves the styleBindings against the given dataItem and applies them to the given edge style.
createEdge (IGraph, INode, INode, TDataItem)in EdgeCreatorCreates an edge in the graph with the values of the bindings resolved against the dataItem.
createEdgeCore (IGraph, INode, INode, IEdgeStyle, IEdge['tag'])in EdgeCreatorCalled from createEdge and performs the actual edge creation in the graph.
getUpdatedBends (IGraph, IEdge, TDataItem)in EdgeCreatorResolves the bendsProvider on the given data item.
getUpdatedStyle (IGraph, IEdge, TDataItem)in EdgeCreatorResolves the styleProvider and then applies the style bindings.
getUpdatedTag (IGraph, IEdge, TDataItem)in EdgeCreatorResolves the tagProvider on the given data item.
onEdgeCreated (IGraph, IEdge, TDataItem)in EdgeCreatorTriggers the edge-created event.
onEdgeUpdated (IGraph, IEdge, TDataItem)in EdgeCreatorTriggers the edge-updated event.
updateBends (IGraph, IEdge, TDataItem)in EdgeCreatorUpdates the bends of the edge with the given dataItem by calling getUpdatedBends and updating the bends on the edge in the graph.
updateEdge (IGraph, IEdge, TDataItem)in EdgeCreatorUpdates the edge.
updateLabels (IGraph, IEdge, TDataItem)in EdgeCreatorCan be used to update the labels of the edge that have been added with this EdgeCreator<TDataItem>.
updateStyle (IGraph, IEdge, TDataItem)in EdgeCreatorUpdates the style of the edge with the given dataItem by calling getUpdatedStyle and applying the style to the edge in the graph.
updateTag (IGraph, IEdge, TDataItem)in EdgeCreatorUpdates the tag of the edge with the given dataItem by calling getUpdatedTag and setting the new tag on the edge.
GraphBuilder (IGraph?, )in GraphBuilderInitializes a new instance of the GraphBuilder class that operates on the given graph.
GraphBuilderItemEventArgs (IGraph, TItem, TDataItem)in GraphBuilderItemEventArgsCreates a new instance of the GraphBuilderItemEventArgs<TItem,TObject> class with the given graph, item, and source object.
addLabel (IGraph, ILabelOwner, TDataItem)in LabelCreatorAdds a label on the given ILabelOwner with the values of the bindings resolved against the dataItem.
addLabelCore (IGraph, ILabelOwner, string, ILabelModelParameter, ILabelStyle, Size, ILabel['tag'])in LabelCreatorCalled from addLabel and performs the actual label creation in the graph.
applyPreferredSizeBindings (IGraph, ILabel, TDataItem)in LabelCreatorResolves the preferredSizeBindings against the given dataItem and applies them to the given label preferredSize.
applyStyleBindings (IGraph, ILabel, TDataItem)in LabelCreatorResolves the styleBindings against the given dataItem and applies them to the given label style.
getUpdatedLayoutParameter (IGraph, ILabel, TDataItem)in LabelCreatorResolves the layoutParameterProvider on the given data item.
getUpdatedPreferredSize (IGraph, ILabel, TDataItem)in LabelCreatorResolves the preferredSizeProvider and then applies the preferred size bindings.
getUpdatedStyle (IGraph, ILabel, TDataItem)in LabelCreatorResolves the styleProvider and then applies the style bindings.
getUpdatedTag (IGraph, ILabel, TDataItem)in LabelCreatorResolves the tagProvider on the given data item.
getUpdatedText (IGraph, ILabel, TDataItem)in LabelCreatorResolves the textProvider on the given data item.
onLabelAdded (IGraph, TDataItem, ILabel)in LabelCreatorTriggers the label-added event.
onLabelUpdated (IGraph, TDataItem, ILabel)in LabelCreatorTriggers the label-updated event.
updateLabel (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the label.
updateLayoutParameter (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the layoutParameter of the label with the given dataItem by calling getUpdatedLayoutParameter and setting the new parameter on the label.
updatePreferredSize (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the preferredSize of the label with the given dataItem by calling getUpdatedPreferredSize and setting the new size on the label.
updateStyle (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the style of the label with the given dataItem by calling getUpdatedStyle and applying the style to the node in the graph.
updateTag (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the tag of the label with the given dataItem by calling getUpdatedTag and setting the new tag on the label.
updateText (IGraph, ILabel, TDataItem)in LabelCreatorUpdates the text of the label with the given dataItem by calling getUpdatedText and setting the new text on the label.
applyLayoutBindings (IGraph, INode, TDataItem)in NodeCreatorResolves the layoutBindings against the given dataItem and applies them on the given node layout.
applyStyleBindings (IGraph, INode, TDataItem)in NodeCreatorResolves the styleBindings against the given dataItem and applies them to the node style.
createNode (IGraph, INode, TDataItem)in NodeCreatorCreates a node in the graph with the values of the bindings resolved against the dataItem.
createNodeCore (IGraph, boolean, INode, Rect, INodeStyle, INode['tag'])in NodeCreatorCalled from createNode and performs the actual node creation in the graph.
getUpdatedLayout (IGraph, INode, TDataItem)in NodeCreatorResolves the layoutProvider and then applies the layout bindings.
getUpdatedStyle (IGraph, INode, TDataItem)in NodeCreatorResolves the styleProvider and then applies the style bindings.
getUpdatedTag (IGraph, INode, TDataItem)in NodeCreatorResolves the tagProvider on the given data item.
onNodeCreated (IGraph, INode, TDataItem)in NodeCreatorTriggers the node-created event.
onNodeUpdated (IGraph, INode, TDataItem)in NodeCreatorTriggers the node-updated event.
updateLabels (IGraph, INode, TDataItem)in NodeCreatorCan be used to update the labels of the node that have been added with this NodeCreator<TDataItem>.
updateLayout (IGraph, INode, TDataItem)in NodeCreatorUpdates the layout of the node in the graph with the given layout information of the given dataItem by calling getUpdatedLayout and applying it to the node.
updateNode (IGraph, INode, INode, TDataItem)in NodeCreatorUpdates the node.
updateStyle (IGraph, INode, TDataItem)in NodeCreatorUpdates the style of the node with the given dataItem by calling getUpdatedStyle and applying the style to the node in the graph.
updateTag (IGraph, INode, TDataItem)in NodeCreatorUpdates the tag of the node with the given dataItem by calling getUpdatedTag and setting the new tag on the node.
TreeBuilder (IGraph?)in TreeBuilderInitializes a new instance of the TreeBuilder class that operates on the given graph.
createLayoutData (IGraph?)in CircularLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the CircularLayout.
createLayoutData (IGraph?)in CompactDiskLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the CompactDiskLayout.
copyEdgeStyle (IGraph, IEdge)in ClipboardGraphCopierCopies an IEdgeStyle instance.
copyLabelLayoutParameter (IGraph, ILabel)in ClipboardGraphCopierCopies a ILabelModelParameter for a given label.
copyLabelStyle (IGraph, ILabel)in ClipboardGraphCopierCopies an ILabelStyle instance.
copyNodeStyle (IGraph, INode)in ClipboardGraphCopierCopies an INodeStyle instance.
copyPortLocationParameter (IGraph, IPort)in ClipboardGraphCopierCopies a IPortLocationModelParameter for a given port.
copyPortStyle (IGraph, IPort)in ClipboardGraphCopierCopies an IPortStyle instance.
getSourceFoldingManager (IGraph)in ClipboardGraphCopierRetrieves the FoldingManager from the given source graph.
getTargetFoldingManager (IGraph)in ClipboardGraphCopierRetrieves the FoldingManager from the given target graph.
onGraphCopied (IGraph, IGraph)in ClipboardGraphCopierCalled after the entire graph has been copied.
FilteredGraphWrapper (IGraph, function(INode):boolean, function(IEdge):boolean?)in FilteredGraphWrapperCreates a new graph instance that wraps the original graph and uses the predicates to determine which nodes and edges should be contained in the graph.
addEventHandlers (IGraph)in FilteredGraphWrapper
onGraphChanged (IGraph, IGraph)in FilteredGraphWrapper
removeEventHandlers (IGraph)in FilteredGraphWrapper
updateMasterLabels (IGraph, FolderNodeState, INode)in FolderNodeDefaultsUpdates the labels of the master group node to match the state of the folder node.
updateMasterNode (FolderNodeState, IGraph, INode)in FolderNodeDefaultsCalled in response to updateGroupNodeState to optionally update the various properties on the master group node according to the state of the folder node.
updateMasterPorts (IGraph, FolderNodeState, INode)in FolderNodeDefaultsUpdates the ports of the master group node to match the state of the folder node.
updateMasterEdges (IGraph, FoldingEdgeState, IListEnumerable<IEdge>)in FoldingEdgeDefaultsCalled in response to updateMasterEdges to optionally update the various properties of the master edges according to the state of the folding edge.
updateMasterLabels (IGraph, FoldingEdgeState, IListEnumerable<IEdge>)in FoldingEdgeDefaultsUpdates the labels of the master edges to match the state of the folding edge.
updateMasterPorts (IGraph, FoldingEdgeState, IListEnumerable<IEdge>)in FoldingEdgeDefaultsCalled by updateMasterEdges to synchronize the ports via updateMasterPort.
updateMaster (IGraph, FoldingLabelState, ILabel)in FoldingLabelDefaultsCalled in response to updateGroupNodeState and updateMasterEdges to optionally update the various properties on the master label according to the state of the folding label.
FoldingManager (IGraph, )in FoldingManagerCreates a manager instance for the given masterGraph to create views on top of it that support folding operations.
updateMasterLabels (IGraph, FoldingPortState, IPort)in FoldingPortDefaultsUpdates the labels of the master ports to match the state of the folding variants.
updateMasterPort (IGraph, FoldingPortState, IPort)in FoldingPortDefaultsUpdates a single master port to match the state of the folding port.
copy (IGraph, IEnumerable<IModelItem>?)in GraphClipboardCopies the itemsToCopy to the clipboard graph.
createContext (IGraph, IGraph, IInputModeContext?)in GraphClipboardFactory method that creates the context for the upcoming calls to the IClipboardHelper methods.
cut (IGraph, IEnumerable<IModelItem>)in GraphClipboardCuts the items indicated by itemsToCut to the clipboard and removes them from the graph.
duplicate (IInputModeContext, IGraph, IEnumerable<IModelItem>?, function(IModelItem, IModelItem):void?)in GraphClipboardDuplicates the itemsToDuplicate from and to the graph.
getLabelLayoutParameter (ClipboardGraphCopier, IGraph, ILabel, ILabelOwner)in GraphClipboardGets an ILabelModelParameter for the given sourceLabel to be placed at the given newTargetOwner.
getPortLocationParameter (ClipboardGraphCopier, IGraph, IPort, IPortOwner)in GraphClipboardGets an IPortLocationModelParameter for the given sourcePort to be placed at the given newTargetOwner.
paste (IGraph, IEnumerable<IModelItem>?, function(IModelItem, IModelItem):void?, IEnumerable<IModelItem>?, Point?, IInputModeContext?)in GraphClipboardPastes the itemsToPaste from the clipboardGraph to the targetGraph.
removeItems (IGraph, IEnumerable<IModelItem>)in GraphClipboardRemoves the itemsToRemove from the graph during a cut operation.
addBend (IGraph, IGraph, IEdge, IBend, Point, number)in GraphCopierAdds a bend to the targetEdge in the targetGraph as a copy of the sourceBend.
addLabel (IGraph, IGraph, ILabelOwner, ILabel)in GraphCopierAdds a label to the targetOwner in the targetGraph as a copy of the sourceLabel.
addPort (IGraph, IGraph, IPortOwner, IPort)in GraphCopierAdds a port to the targetOwner in the targetGraph as a copy of the sourcePort.
copy (IGraph, IGraph, function(IModelItem):boolean, INode?, Point?, function(IModelItem, IModelItem):void?)in GraphCopierCopies a subgraph induced by an IEnumerable<IModelItem> from the sourceGraph to the targetGraph.
copy (IGraph, IGraph, IEnumerable<IModelItem>?, INode?, Point?, function(IModelItem, IModelItem):void?)in GraphCopierCopies a subgraph induced by an IEnumerable<IModelItem> from the sourceGraph to the targetGraph.
copyEdgeStyle (IGraph, IEdge)in GraphCopierCopies an IEdgeStyle instance.
copyLabelLayoutParameter (IGraph, ILabel)in GraphCopierCopies a ILabelModelParameter for a given label.
copyLabelStyle (IGraph, ILabel)in GraphCopierCopies an ILabelStyle instance.
copyNodeStyle (IGraph, INode)in GraphCopierCopies an INodeStyle instance.
copyPortLocationParameter (IGraph, IPort)in GraphCopierCopies a IPortLocationModelParameter for a given port.
copyPortStyle (IGraph, IPort)in GraphCopierCopies an IPortStyle instance.
createEdge (IGraph, IGraph, IEdge, IPort, IPort)in GraphCopierAdds an edge to the targetGraph as a copy of the sourceEdge.
createGroupNode (IGraph, IGraph, INode, INode, Point)in GraphCopierCreates a copy of the sourceGroupNode in the targetGraph.
createNode (IGraph, IGraph, INode, Point)in GraphCopierCreates a copy of the sourceNode in the targetGraph.
createNode (IGraph, IGraph, INode, INode, Point)in GraphCopierCreates a copy of the sourceNode in the targetGraph.
getSourceFoldingManager (IGraph)in GraphCopierRetrieves the FoldingManager from the given source graph.
getTargetFoldingManager (IGraph)in GraphCopierRetrieves the FoldingManager from the given target graph.
onGraphCopied (IGraph, IGraph)in GraphCopierCalled after the entire graph has been copied.
GraphDecorator (IGraph)in GraphDecoratorInitializes a new instance of the GraphDecorator class.
GraphWrapperBase (IGraph)in GraphWrapperBaseCreates a new instance that wraps a given IGraph.
addEventHandlers (IGraph)in GraphWrapperBaseAdds event handlers that propagate graph events from graph to listeners on this instance.
onGraphChanged (IGraph, IGraph)in GraphWrapperBaseCalled when the wrappedGraph property value changes and after initialization of the field.
onGraphTagChanged (ItemChangedEventArgs<IGraph,any>)in GraphWrapperBaseRaises the graph-tag-changed event.
removeEventHandlers (IGraph)in GraphWrapperBaseRemoves event handlers for graph that have been added with addEventHandlers.
GroupingSupport (IGraph)in GroupingSupportCreates a new instance which operates on the given graph.
calculateBounds (IGraph)in IGroupBoundsCalculatorCalculates the bounds of the layout for the group node whose lookup returned this provider.
create (function(IGraph):Rect)in IGroupBoundsCalculator
placeNodeInCell (IGraph, INode, INode, IColumn, IRow, boolean?, boolean?)in ITablePlaces node in the center of the table cell determined by column and row.
installDynamicUndoSupport (IGraph)in TableInstalls the undo support for use with all tables that are bound to nodes in graph.
installStaticUndoSupport (IGraph)in TableInstalls the undo support for use with all tables that are bound to nodes in graph.
uninstallDynamicUndoSupport (IGraph)in TableUninstalls the undo support that has previously been installed with installDynamicUndoSupport
uninstallStaticUndoSupport (IGraph)in TableUninstalls the undo support that has previously been installed with installStaticUndoSupport
addGraphInputData (Constructor<TValue>, string, function(IGraph, TValue):void, function(IParseContext, Node, Constructor):TValue?, string?)in GraphMLIOHandlerRegister graphData as an input data target for GraphML data that is present at the graph level.
addGraphInputData (Constructor<TValue>, function(Element):boolean, function(IGraph, TValue):void, function(IParseContext, Node, Constructor):TValue?)in GraphMLIOHandlerRegister graphData as an input data target for GraphML data that is present at the graph level.
addGraphOutputData (Constructor<TValue>, string, function(IGraph):TValue, function(IWriteContext, TValue, Constructor):void?, KeyType?, string?)in GraphMLIOHandlerRegister graphData as an output data source for data that is written at the graph level.
parse (IGraph, Document, IParseContext)in GraphMLIOHandlerParses the XML document document into an graph instance.
readFromDocument (IGraph, Document)in GraphMLIOHandlerRead GraphML from an existing XML document.
readFromGraphMLText (IGraph, string)in GraphMLIOHandlerConvenience method that imports the graph from an XML data provided in a string data.
readFromURL (IGraph, string)in GraphMLIOHandlerReads GraphML content from the given url and populates the graph.
write (IGraph)in GraphMLIOHandlerWrites the given graph object to GraphML.
createLayoutData (IGraph?)in HierarchicalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the HierarchicalLayout.
CreateEdgeInputMode ()in CreateEdgeInputModeCreates a new instance that will use the IGraph from the parentInputModeContext to create edges in.
createEdge (IGraph, IPortCandidate, IPortCandidate)in CreateEdgeInputModeCalled at the end of the edge creation process if both startPortCandidate and endPortCandidate have been set.
GraphEditorInputMode ()in GraphEditorInputModeCreates a new instance that is not bound to an existing graph or selection, initially.
create (function(IInputModeContext, IGraph, Point):number)in IBendCreator
createBend (IInputModeContext, IGraph, Point)in IBendCreatorCreates a bend at the position supplied at the given graph for the edge whose lookup provided this creator.
cleanUpEdge (IInputModeContext, IGraph)in IOrthogonalEdgeHelperInvoked after the edge this helper was provided for has been edited orthogonally.
create ()in IOrthogonalEdgeHelper
ItemDropInputMode (string, )in ItemDropInputModeInitializes a new instance of the ItemDropInputMode<T> class for the given data type.
populatePreviewGraph (IGraph)in ItemDropInputModeSubclasses shall fill the specified graph that is used to preview the dragged item.
updatePreview (IGraph, Point)in ItemDropInputModeSubclasses shall update the previewGraph so the dragged item is displayed at the specified dragLocation.
LabelDropInputMode (string, )in LabelDropInputModeInitializes a new instance of the LabelDropInputMode class for the given data type.
createLabel (IInputModeContext, IGraph, ILabel, ILabelOwner, ILabelModelParameter)in LabelDropInputModeCreates the label in the graph after it's been dropped.
populatePreviewGraph (IGraph)in LabelDropInputMode
updatePreview (IGraph, Point)in LabelDropInputMode
NodeDropInputMode (string, )in NodeDropInputModeInitializes a new instance of the NodeDropInputMode class for the given data type.
createNode (IInputModeContext, IGraph, INode, IModelItem, Rect)in NodeDropInputModeCreates the node in the graph after it's been dropped.
populatePreviewGraph (IGraph)in NodeDropInputMode
updatePreview (IGraph, Point)in NodeDropInputMode
cleanUpEdgePath (IGraph, IEdge)in OrthogonalEdgeEditingContextCleans up the edge's path after a successfully finished drag.
cleanUpEdgePaths (IGraph)in OrthogonalEdgeEditingContextCalled after a successfully finished drag to clean up artifacts of modified edges.
prepareEdgePaths (IGraph)in OrthogonalEdgeEditingContextCalled during dragInitialized to prepare the edge paths for orthogonal editing.
prepareOrthogonalEdge (IGraph, IEdge, IListEnumerable<SegmentOrientation>, IListEnumerable<MovementInfo>)in OrthogonalEdgeEditingContextHelper method that inspects and prepares an orthogonal edge for the upcoming edit process.
removeAddedBends (IGraph, IEnumerable<IBend>)in OrthogonalEdgeEditingContextRemoves previously registered added bends.
cleanUpEdge (IInputModeContext, IGraph)in OrthogonalEdgeHelperInvoked after the edge has been edited orthogonally.
createInstance (IInputModeContext, IGraph, IPortLocationModelParameter, IPortStyle, IPort['tag'])in PortCandidateActually creates the IPort instance.
PortDropInputMode (string, )in PortDropInputModeInitializes a new instance of the PortDropInputMode class for the given data type.
createPort (IInputModeContext, IGraph, IPort, IPortOwner, IPortLocationModelParameter)in PortDropInputModeCreates the port in the graph after it has been dropped.
populatePreviewGraph (IGraph)in PortDropInputMode
updatePreview (IGraph, Point)in PortDropInputMode
setParameter (IGraph, IPort, IPortLocationModelParameter)in PortLocationModelParameterHandleApplies the parameter.
PortRelocationHandle (IGraph, IEdge, boolean)in PortRelocationHandleCreates a new instance of the PortRelocationHandle class.
PortRelocationHandleProvider (IGraph, IEdge)in PortRelocationHandleProviderInitializes a new instance of the PortRelocationHandleProvider class using the given graph and edge.
createPortRelocationHandle (IGraph, IEdge, boolean)in PortRelocationHandleProviderFactory method that creates the handle for this provider.
StripeDropInputMode (string, )in StripeDropInputModeInitializes a new instance of the StripeDropInputMode class for the given data type.
populatePreviewGraph (IGraph)in StripeDropInputMode
updatePreview (IGraph, Point)in StripeDropInputMode
createLayoutData (IGraph?)in GenericLabelingReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GenericLabeling.
createLayoutData (IGraph?)in AlignmentStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the AlignmentStage.
createLayoutData (IGraph)in BendSubstitutionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the BendSubstitutionStage.
createLayoutData (IGraph?)in ComponentLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the ComponentLayout.
createLayoutData (IGraph)in CurveFittingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the CurveFittingStage.
createLayoutData (IGraph?)in GenericLayoutGridStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GenericLayoutGridStage.
createLayoutData (IGraph?)in GivenCoordinatesLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the GivenCoordinatesLayout.
createLayoutData (IGraph?)in LayoutAnchoringStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the LayoutAnchoringStage.
LayoutExecutor (GraphComponent, IGraph, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutorAsync (function(object):Promise<object>, IGraph, LayoutDescriptor?, LayoutData<INode,IEdge,ILabel,ILabel>?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and apply the results on the provided graph.
LayoutGraphAdapter (IGraph)in LayoutGraphAdapterCreates a new adapter using the given originalGraph.
createLayoutData (IGraph?)in PlaceNodesAtBarycenterStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PlaceNodesAtBarycenterStage.
createLayoutData (IGraph?)in RadialGroupLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialGroupLayout.
createLayoutData (IGraph?)in RecursiveGroupLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RecursiveGroupLayout.
createLayoutData (IGraph?)in RemoveOverlapsStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RemoveOverlapsStage.
StructureGraphAdapter (IGraph, IEnumerable<INode>?, IEnumerable<IEdge>?)in StructureGraphAdapterInitializes a new instance of the StructureGraphAdapter class.
createLayoutData (IGraph?)in SubgraphLayoutStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the SubgraphLayoutStage.
cleanUp (IGraph)in TableLayoutConfiguratorDestroy all information that results from a previous prepare and a subsequent layout.
prepare (IGraph)in TableLayoutConfiguratorSetup layout grid information from a graph that contains table structures
restore (IGraph)in TableLayoutConfiguratorWrite back all information from the layout grid
createLayoutData (IGraph?)in TabularLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TabularLayout.
createLayoutData (IGraph?)in TemporaryGroupInsertionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TemporaryGroupInsertionStage.
createLayoutData (IGraph?)in MultiPageLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the MultiPageLayout.
createLayoutData (IGraph?)in InteractiveOrganicLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the InteractiveOrganicLayout.
updateNodeCenters (IGraph, number?, number?, number?)in InteractiveOrganicLayoutDataWrites calculated intermediate center locations of nodes to the graph and returns the largest movement applied.
createLayoutData (IGraph?)in OrganicLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrganicLayout.
createLayoutData (IGraph?)in OrthogonalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrthogonalLayout.
createLayoutData (IGraph?)in ClearAreaLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the ClearAreaLayout.
createLayoutData (IGraph?)in FillAreaLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the FillAreaLayout.
createLayoutData (IGraph?)in PartialLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the PartialLayout.
createLayoutData (IGraph?)in RadialLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialLayout.
createLayoutData (IGraph)in CurveRoutingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the CurveRoutingStage.
createLayoutData (IGraph?)in EdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the EdgeRouter.
createLayoutData (IGraph)in OctilinearRoutingStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the OctilinearRoutingStage.
createLayoutData (IGraph?)in OrganicEdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the OrganicEdgeRouter.
createLayoutData (IGraph?)in SelfLoopRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to define the edges affected by the SelfLoopRouter.
createLayoutData (IGraph?)in StraightLineEdgeRouterReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the StraightLineEdgeRouter.
createLayoutData (IGraph?)in SeriesParallelLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the SeriesParallelLayout.
createLayoutData (IGraph?)in RadialTreeLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the RadialTreeLayout.
createLayoutData (IGraph?)in TreeLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeLayout.
createLayoutData (IGraph?)in TreeMapLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeMapLayout.
createLayoutData (IGraph?)in TreeReductionStageReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the TreeReductionStage.
GraphComponent (HTMLElement, )in GraphComponentCreates a new instance of the GraphComponent in the given div element.
GraphComponent ()in GraphComponentCreates a new instance of the GraphComponent.
GraphComponent (string, )in GraphComponentCreates a new instance of GraphComponent using the div element that is specified by the selector.
install (CanvasComponent, IGraph, IRenderTreeGroup?)in GraphModelManagerInstalls this instance for the specified CanvasComponent.
onGraphChanged (IGraph, IGraph)in GraphModelManagerCalled when the graph property changes.
getBoundsProvider (IGraph)in GraphOverviewRenderer
getHitTestable (IGraph)in GraphOverviewRenderer
getVisibilityTestable (IGraph)in GraphOverviewRenderer
getVisualCreator (IGraph)in GraphOverviewRenderer
createEdgeSegmentAnimation (IGraph, IEdge, IPoint, Point, Point, TimeSpan)in IAnimationCreates a new IAnimation that animates the given edge's bends from its current shape linearly to the shape given by the endBends and final port locations.
createGraphAnimation (IGraph, IMapper<INode,IRectangle>?, IMapper<IEdge,yfiles.geometry.IPoint[]>?, IMapper<IPort,IPortLocationModelParameter>?, IMapper<ILabel,ILabelModelParameter>?, TimeSpan?)in IAnimationCreates a new IAnimation that animates the given layout of all types of graph items.
createLabelAnimation (IGraph, ILabel, ILabelModelParameter, TimeSpan)in IAnimationCreates a new IAnimation that animates the given label from its current layout linearly to the layout given by the targetLayoutParameter.
createLayoutAnimation (IGraph, LayoutGraphAdapter, TimeSpan)in IAnimationCreates a new IAnimation instance that animates the current graph to the layout given by the layoutGraph instance of the given adapter.
createNodeAnimation (IGraph, INode, IRectangle, TimeSpan)in IAnimationCreates a new IAnimation that animates the given node from its current layout to the new given targetLayout.
createPortAnimation (IGraph, IPort, IPortLocationModelParameter, TimeSpan)in IAnimationCreates a new IAnimation that animates the given port from its current location to the new location given by the targetLocationParameter.
install (CanvasComponent, IGraph, IRenderTreeGroup?)in WebGLGraphModelManager
onGraphChanged (IGraph, IGraph)in WebGLGraphModelManager

Implementing Types

GraphCentral implementation of the IGraph interface.
GraphWrapperBaseAn abstract IGraph implementation that delegates all of its work to an existing implementation.
GraphOverviewRendererAn IObjectRenderer<IGraph> for use in a CanvasComponent that renders an IGraph instance in an abstract, schematic overview style.