documentationfor yFiles for HTML 3.0.0.3

Usages of IFoldingView

Properties

sourceFoldingViewin ClipboardOperationContextThe IFoldingView of the sourceGraph.
targetFoldingViewin ClipboardOperationContextThe IFoldingView of the targetGraph.
viewsin FoldingManagerGets all currently known view instances that are managed by this instance.
foldingViewin IGraphGets the IFoldingView instance associated with this IGraph or null if none is associated with it.

Method Return Values

createFoldingView (INode?, function(INode):boolean?)in FoldingManagerCreates a separate view instance of the masterGraph which is a synchronized copy of a subset of the items from the master graph.

Method Parameters

addFoldingEdge (IFoldingEdgeConverterContext, IFoldingView, IEdge, INode, boolean, INode, boolean)in ExcludingFoldingEdgeConverterDoes not add folding edges to the folding view.
initializeFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in ExcludingFoldingEdgeConverterDoes nothing and should not normally be called by the view since all folding edges are excluded from it.
updateFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in ExcludingFoldingEdgeConverterDoes nothing and should not normally be called by the view since all folding edges are excluded from it.
updateMasterEdges (FoldingEdgeState, IFoldingView, IListEnumerable<IEdge>)in ExcludingFoldingEdgeConverterDoes nothing and should not normally be called by the view since all folding edges are excluded from it.
initializeFolderNodeState (FolderNodeState, IFoldingView, INode, INode)in FolderNodeConverterInitializes the appearance of the collapsed group node.
updateFolderNodeState (FolderNodeState, IFoldingView, INode, INode)in FolderNodeConverterUpdates the folder node state when the masterNode was modified.
updateGroupNodeState (FolderNodeState, IFoldingView, INode, INode)in FolderNodeConverterUpdates the masterNode when the state was modified.
addFoldingEdge (IFoldingEdgeConverterContext, IFoldingView, IEdge, INode, boolean, INode, boolean)in FoldingEdgeConverterActually adds the folding edge as a separate edge to the view, reusing existing view ports of the original source and target port, if reuseMasterPorts is enabled and that is possible for the given edge.
initializeFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in FoldingEdgeConverterInitializes the folding edge appearance.
updateFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in FoldingEdgeConverterUpdates the state when the masterEdges were modified.
updateMasterEdges (FoldingEdgeState, IFoldingView, IListEnumerable<IEdge>)in FoldingEdgeConverterUpdates the masterEdges when the state was modified.
updatePorts (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in FoldingEdgeDefaultsCalled by updateState to synchronize the ports.
updateState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in FoldingEdgeDefaultsCalled by implementations of the IFoldingEdgeConverter interfaces to update the state of a folding edge in the folding view, once it has changed.
FoldingEdgeStateId (IFoldingView, IEdge)in FoldingEdgeStateIdInitializes an id for a folding edge that is currently part of the given view.
getEdgesChangedAfterCollapse (IFoldingView, INode)in FoldingManagerReturns the FoldingEdgeStateIds of all edges whose folding state would change if the groupNode would be collapsed.
getEdgesChangedAfterExpand (IFoldingView, INode)in FoldingManagerReturns the FoldingEdgeStateIds of all edges whose folding state would change if the groupNode would be expanded.
getNodesRevealedAfterExpand (IFoldingView, INode)in FoldingManagerReturns the master nodes of the descendants of the groupNode that would be represented in the view if the groupNode would be expanded.
create ()in IFolderNodeConverter
initializeFolderNodeState (FolderNodeState, IFoldingView, INode, INode)in IFolderNodeConverterCalled by view implementations to initially create the appearance of a folder node.
updateFolderNodeState (FolderNodeState, IFoldingView, INode, INode)in IFolderNodeConverterCalled by view implementations to change the appearance of a folder node.
updateGroupNodeState (FolderNodeState, IFoldingView, INode, INode)in IFolderNodeConverterCalled by view implementations to adapt the appearance of a group node to changes of its closed state.
addFoldingEdge (IFoldingEdgeConverterContext, IFoldingView, IEdge, INode, boolean, INode, boolean)in IFoldingEdgeConverterThis method gets called by the IFoldingView implementation to determine whether a given edge in the masterGraph should be represented by a folding edge in the given view.
create ()in IFoldingEdgeConverter
initializeFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in IFoldingEdgeConverterTriggered by the view to initially create the appearance of a folding edge.
updateFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in IFoldingEdgeConverterTriggered by the view to adjust the appearance of a folding edge.
updateMasterEdges (FoldingEdgeState, IFoldingView, IListEnumerable<IEdge>)in IFoldingEdgeConverterCallback to optionally back propagate state changes on a folding edge's state to the masterEdges.
addFirstSeparateEdge (IFoldingEdgeConverterContext, IFoldingView, IEdge, INode, boolean, INode, boolean)in MergingFoldingEdgeConverterAdds the first separate edge to the source and target node pair using the addAsSeparateEdge method.
addFoldingEdge (IFoldingEdgeConverterContext, IFoldingView, IEdge, INode, boolean, INode, boolean)in MergingFoldingEdgeConverterTries to add the folding edge to an existing folding edge, considering the ignoreEdgeDirection property.
initializeFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in MergingFoldingEdgeConverterInitializes the folding edge appearance.
updateFoldingEdgeState (FoldingEdgeState, IFoldingView, IEdge, IListEnumerable<IEdge>)in MergingFoldingEdgeConverterUpdates the folding edge appearance.
updateMasterEdges (FoldingEdgeState, IFoldingView, IListEnumerable<IEdge>)in MergingFoldingEdgeConverterCallback to optionally back propagate state changes on a folding edge's state to the masterEdges.