documentationfor yFiles for HTML 3.0.0.3

Usages of IModelItem

Properties

item1in IntersectionGets the first item that is involved in the intersection.
item2in IntersectionGets the second item that is involved in the intersection.
affectedItemsin IntersectionsGets or sets the graph items that must be involved in each intersection.
allMasterItemsin ClipboardOperationContextAll items to be copied as master items.
allViewItemsin ClipboardOperationContextAll items from the sourceGraph that should be copied.
allViewStateItemsin ClipboardOperationContextAll items to be copied that cannot be represented as master items.
itemsin GraphClipboardEventArgsThe items which are or were copied during this clipboard operation.
addLabelPredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether a label can be added to the given IModelItem.
deletablePredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether an IModelItem can be deleted or not.
editLabelPredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether the given label or a label owned by the given owner should be edited in response to a EDIT_LABEL command.
movableSelectedItemsPredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether moving an item is allowed.
movableUnselectedItemsPredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether moving an item is allowed when it is not selected.
pasteSelectablePredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether an item should be selected after paste or duplicateSelection.
selectAfterCreationPredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether an item should be selected after creation.
showHandlePredicatein GraphEditorInputModeGets or sets a predicate that is queried to determine whether to show the handles for the given item.
clickablePredicatein GraphInputModeGets or sets a predicate that is queried to determine whether an item can be clicked.
clickSelectablePredicatein GraphInputModeGets or sets a predicate that is queried to determine whether an item should be selected when clicked with the primary mouse button.
doubleClickablePredicatein GraphInputModeGets or sets a predicate that is queried to determine whether an item can be double clicked.
focusablePredicatein GraphInputModeGets or sets a predicate that is queried to determine whether an item should be set to the current item.
marqueeSelectablePredicatein GraphInputModeGets or sets a predicate that is queried to determine whether an item can be selected by marquee or lasso selection.
populateContextMenuPredicatein GraphInputModeGets or sets a predicate that is queried to determine whether a context menu should be shown for an item.
queryToolTipPredicatein GraphInputModeGets or sets a predicate that is queried to determine whether a tool tip should be queried for an item.
selectablePredicatein GraphInputModeGets or sets a predicate that is queried to determine whether a given IModelItem is selectable.
affectedItemsin GraphSnapContextGets the items that were affected by the drag gesture.
affectedItemsin HandleInputModeGets an immutable snapshot of the IModelItems affected by the currently modified handle gesture.
itemin HoveredItemChangedEventArgsGets the item that is currently hovered or null if no item is hovered.
oldItemin HoveredItemChangedEventArgsGets or sets the item that was previously hovered, possibly null.
dropTargetin ItemDropInputModeGets the drop target at snappedPointerPosition
itemCreatorin ItemDropInputModeGets or sets the callback for item creation.
currentHoverItemin ItemHoverInputModeGets the current item the pointer is hovering over.
itemsin ItemsEventArgsGets the items that are the subjects for this event.
affectedItemsin MoveInputModeGets an immutable snapshot of the IModelItems affected by the currently active gesture.
movedItemin MovementInfoGets the item that is being moved.
navigablePredicatein NavigationInputModeGets or sets a predicate that is queried to determine whether an item should be navigated to.
selectablePredicatein NavigationInputModeGets or sets a predicate that is queried to determine whether an item can be selected.
itemin SnapResultGets the IModelItem instance that is snapped by this result.
addLabelPredicatein TableEditorInputModeGets or sets a predicate that is queried to determine whether a label can be added to the given IModelItem.
editLabelPredicatein TableEditorInputModeGets or sets a predicate that is queried to determine whether the given label or a label owned by the given owner can be edited.
itemin TableHitTestResultThe item that is actually hit.
anchoredItemsin LayoutExecutorGets or sets the mapping of graph items to LayoutAnchoringPolicy values, specifying which part of the items should be used to anchor the graph during layout.
anchoredItemsin LayoutExecutorAsyncGets or sets the mapping of graph items to LayoutAnchoringPolicy values, specifying which part of the items should be used to anchor the graph during layout.
currentItemin GraphComponentGets or sets the currently focused item.
focusIndicatorManagerin GraphComponentGets or sets the FocusIndicatorManager<T> that manages display of the focus indicator for keyboard operations.
highlightIndicatorManagerin GraphComponentGets or sets the HighlightIndicatorManager<T> which is responsible for rendering the highlights.
highlightsin GraphComponentGets or sets the collection model that stores the highlight state for the visualization.
selectionIndicatorManagerin GraphComponentGets or sets the selectionIndicatorManager property.
renderOrderComparatorin GraphModelManagerGets an comparison instance that can be used to compare two model items with respect to their visual display order.

Method Return Values

getItem (IGraphClipboardContext, any)in IClipboardIdProviderGets the item which is represented by the given id.
createLayoutData (IGraph?)in HierarchicalLayoutReturns an instance of LayoutData<TNode,TEdge,TNodeLabel,TEdgeLabel> that can be used to perform item-specific configurations for the HierarchicalLayout.
findItems (Point, GraphItemTypes, function(IModelItem):boolean?)in GraphInputModeUsed as a callback to find the items hit underneath a certain point.
findItems (IInputModeContext, Point, GraphItemTypes, function(IModelItem):boolean?)in GraphInputModeUsed as a callback to find the items hit underneath a certain point.
enumerateHits (IInputModeContext, Point, GraphItemTypes?)in IHitTesterYields an enumerable that enumerates the hits for a given world coordinate.
getDropTarget (Point)in ItemDropInputModeReturns the drop target at the specified location.
getHitItemsAt (Point)in ItemHoverInputModeGets the items that have been hit at the given location.
getDropTarget (Point)in LabelDropInputModeLooks for a valid label owner at the dragLocation.
findNearestItem (IInputModeContext, IModelItem, MoveFocusDirection, IEnumerable<IModelItem>)in NavigationInputModeDetermines the nearest item in the given direction.
findNextItem (IInputModeContext, MoveFocusDirection)in NavigationInputModeDetermines the next item when a navigation command is executed.
getDropTarget (Point)in NodeDropInputMode
getDropTarget (Point)in PortDropInputModeLooks for a valid port owner at the dragLocation.
getModelItem (IRenderTreeElement)in GraphModelManagerRetrieves the corresponding IModelItem for the given render tree element.
hitElementsAt (Point, IInputModeContext?, IRenderTreeGroup?, GraphItemTypes?)in GraphModelManagerEnumerates hits in the render tree of the canvas at a given world coordinate position for a given context and IRenderTreeGroup.
hitElementsAt (Point, IInputModeContext?, IRenderTreeGroup?, GraphItemTypes?)in WebGLGraphModelManager

Method Parameters

Intersections ()in IntersectionsCreates a new Intersections instance with default settings.
copy (ClipboardOperationContext, INode, Point?, function(IModelItem, IModelItem):void?)in ClipboardGraphCopierCopies a subgraph from the sourceGraph to the targetGraph as defined in the context.
copyTag (IModelItem, any)in ClipboardGraphCopierCallback that will copy a tag for the target graph.
addMasterItem (IModelItem, boolean?)in ClipboardOperationContextAdds an item to be copied.
addViewStateItem (IModelItem, boolean?)in ClipboardOperationContextAdds an item without master representation to be copied.
getClipboardHelper (IModelItem)in ClipboardOperationContextGets the IClipboardHelper for the given item.
isHelper (IModelItem)in ClipboardOperationContextReturns whether the item is no item to copy or was only copied to the clipboardGraph as it is required to maintain its structural integrity.
isItemToCopy (IModelItem)in ClipboardOperationContextWhether the item should be copied by copy.
isMasterItemToCopy (IModelItem)in ClipboardOperationContextWhether the item was added as master item and should be copied by copy.
isViewStateItemToCopy (IModelItem)in ClipboardOperationContextWhether the item was added as view state item and should be copied by copy.
markAsHelper (IModelItem)in ClipboardOperationContextMarks an item in the clipboardGraph that should not be pasted but was copied to the clipboardGraph as it was required to maintain its structural integrity.
contains (IModelItem)in FilteredGraphWrapper
contains (IModelItem)in GraphDetermines whether this graph contains the specified item.
remove (IModelItem)in Graph
copy (IGraph, IEnumerable<IModelItem>?)in GraphClipboardCopies the itemsToCopy to the clipboard graph.
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.
getId (IModelItem)in GraphClipboardReturns the ID which is linked with the given clipboard item.
isFoldingStateItem (IModelItem)in GraphClipboardWhether the given clipboardItem of the clipboardGraph was copied from a folding state of its owner.
isHelper (IModelItem)in GraphClipboardWhether the given clipboardItem is a "helper" item which should not be pasted.
onCopy (ClipboardOperationContext, INode?, function(IModelItem, IModelItem):void?)in GraphClipboardCalled from copy and delegates to copy on the current toClipboardCopier instance.
onDuplicate (ClipboardOperationContext, function(IModelItem, IModelItem):void)in GraphClipboardCalled from duplicate and delegates to copy on the current duplicateCopier instance.
onItemCopied (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been copied into the clipboard graph in response to a copy operation.
onItemCut (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been copied into the clipboard graph in response to a cut operation.
onItemDuplicated (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been duplicated into the target graph in response to a duplicate operation.
onItemPasted (ClipboardOperationContext, IModelItem, IModelItem)in GraphClipboardInvoked for each item that has been pasted into the target graph in response to a onPaste operation.
onPaste (ClipboardOperationContext, function(IModelItem, IModelItem):void, INode?, IEnumerable<IModelItem>?, Point?)in GraphClipboardCalled during paste operation to call copy on the current fromClipboardCopier instance.
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.
GraphClipboardEventArgs (IGraphClipboardContext, List<IModelItem>)in GraphClipboardEventArgsCreates a new instance with the given context and items.
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.
copyTag (IModelItem, IModelItem['tag'])in GraphCopierCallback that will copy a tag for the target graph.
enumerableContainsTypes (GraphItemTypes, IEnumerable<IModelItem>)in GraphItemTypesDetermines whether the specified items collection contains any of the types described by types.
getItemType (IModelItem)in GraphItemTypesGets the type of the item.
getItemTypes (IEnumerable<IModelItem>)in GraphItemTypesDetermines the types of the items contained in the collection of items.
itemIsOfTypes (GraphItemTypes, IModelItem)in GraphItemTypesDetermines whether the item is of the specified types.
contains (IModelItem)in GraphWrapperBase
remove (IModelItem)in GraphWrapperBase
create ()in IClipboardHelper
onCopied (IGraphClipboardContext, IModelItem)in IClipboardHelperThis method is called during the copy operation of the given item.
onCut (IGraphClipboardContext, IModelItem)in IClipboardHelperThis method is called during the cut operation of the given item.
onDuplicated (IGraphClipboardContext, IModelItem, IModelItem)in IClipboardHelperThis method is called after the item has been duplicated in the graph.
onPasted (IGraphClipboardContext, IModelItem)in IClipboardHelperThis method is called after the item has been pasted from the clipboard.
shouldCopy (IGraphClipboardContext, IModelItem)in IClipboardHelperDetermines whether the given item can or should be copied to the clipboard.
shouldCut (IGraphClipboardContext, IModelItem)in IClipboardHelperDetermines whether the given item can or should be cut to the clipboard.
shouldDuplicate (IGraphClipboardContext, IModelItem)in IClipboardHelperDetermines whether the given item can or should be duplicated in the source graph.
shouldPaste (IGraphClipboardContext, IModelItem)in IClipboardHelperDetermines whether the given item can or should be pasted from the clipboard to the target graph.
create ()in IClipboardIdProvider
getId (IGraphClipboardContext, IModelItem)in IClipboardIdProviderGets the ID for the given originalItem.
isInFoldingState (IModelItem)in IFoldingViewDetermines whether the specified item is a folding state in this view.
applyLayout (ILayoutAlgorithm, LayoutData<INode,IEdge,ILabel,ILabel>?, TimeSpan?, TimeSpan?, ItemMapping<IPort,PortAdjustmentPolicy>?, ItemMapping<IPort,PortPlacementPolicy>?, ItemMapping<ILabel,PortLabelPolicy>?, ItemMapping<IModelItem,LayoutAnchoringPolicy>?, ItemMapping<ILabel,LabelPlacementPolicy>?, function(INode, INode):number?, function(IEdge, IEdge):number?)in IGraphRuns an ILayoutAlgorithm synchronously on the given graph.
contains (IModelItem)in IGraphDetermines whether this graph contains the specified item.
remove (IModelItem)in IGraphRemoves the given item from this graph.
GraphEditorInputMode ()in GraphEditorInputModeCreates a new instance that is not bound to an existing graph or selection, initially.
doubleClick (IModelItem, ClickEventArgs)in GraphEditorInputModeActually performs a double-click on the given item.
editLabelOnDoubleClick (IModelItem)in GraphEditorInputModeStarts label editing by executing EDIT_LABEL.
onDeletedItem (InputModeItemChangedEventArgs<IModelItem,EventArgs>)in GraphEditorInputModeRaises the deleted-item event.
onDeletingSelection (SelectionEventArgs<IModelItem>)in GraphEditorInputModeRaises the deleting-selection event.
onGroupedSelection (SelectionEventArgs<IModelItem>)in GraphEditorInputModeRaises the grouped-selection event.
onGroupingSelection (SelectionEventArgs<IModelItem>)in GraphEditorInputModeRaises the grouping-selection event.
onUngroupedSelection (SelectionEventArgs<IModelItem>)in GraphEditorInputModeRaises the ungrouped-selection event.
onUngroupingSelection (SelectionEventArgs<IModelItem>)in GraphEditorInputModeRaises the ungrouping-selection event.
click (IModelItem, ClickEventArgs)in GraphInputModeActually performs the click or tap on the given item.
doubleClick (IModelItem, ClickEventArgs)in GraphInputModeActually performs a double-tap on the given item.
findItems (Point, GraphItemTypes, function(IModelItem):boolean?)in GraphInputModeUsed as a callback to find the items hit underneath a certain point.
findItems (IInputModeContext, Point, GraphItemTypes, function(IModelItem):boolean?)in GraphInputModeUsed as a callback to find the items hit underneath a certain point.
handleClickListener (IInputModeContext, IModelItem, Point)in GraphInputModeCalled by click to query the item for an IClickListener in its lookup and handle it appropriately.
onItemClicked (ItemClickedEventArgs<IModelItem>)in GraphInputModeRaises the item-clicked event.
onItemDoubleClicked (ItemClickedEventArgs<IModelItem>)in GraphInputModeRaises the item-double-clicked event.
onItemLeftClicked (ItemClickedEventArgs<IModelItem>)in GraphInputModeRaises the item-left-clicked event.
onItemLeftDoubleClicked (ItemClickedEventArgs<IModelItem>)in GraphInputModeRaises the item-left-double-clicked event.
onItemRightClicked (ItemClickedEventArgs<IModelItem>)in GraphInputModeRaises the item-right-clicked event.
onItemRightDoubleClicked (ItemClickedEventArgs<IModelItem>)in GraphInputModeRaises the item-right-double-clicked event.
onMultiSelectionFinished (SelectionEventArgs<IModelItem>)in GraphInputModeRaises the multi-selection-finished event.
onMultiSelectionStarted (SelectionEventArgs<IModelItem>)in GraphInputModeRaises the multi-selection-started event.
onPopulateItemContextMenu (PopulateItemContextMenuEventArgs<IModelItem>)in GraphInputModeRaises the populate-item-context-menu event.
onQueryItemToolTip (QueryItemToolTipEventArgs<IModelItem>)in GraphInputModeRaises the query-item-tool-tip event.
setCurrentItem (IModelItem)in GraphInputModeCalled by this instance to set the current item on the NavigationInputMode
setSelected (IModelItem, boolean)in GraphInputModeUses the graphSelection to select the given item.
GraphSnapContext ()in GraphSnapContextCreates a new instance with default settings.
addItemToBeReshaped (IModelItem)in GraphSnapContextAdds an item which will be reshaped.
GraphViewerInputMode ()in GraphViewerInputModeInitializes a new instance of the GraphViewerInputMode class.
HoveredItemChangedEventArgs (IInputModeContext, IModelItem, IModelItem)in HoveredItemChangedEventArgsInitializes a new instance of the HoveredItemChangedEventArgs class.
add (IModelItem)in IModelItemCollectorAdds a model item to this collector instance.
ItemDropInputMode (string, )in ItemDropInputModeInitializes a new instance of the ItemDropInputMode<T> class for the given data type.
isValidHoverItem (IModelItem)in ItemHoverInputModeDetermines whether the given item is a valid item to be considered for hovering.
ItemsEventArgs (IInputModeContext, IListEnumerable<IModelItem>)in ItemsEventArgsInitializes a new instance of the ItemsEventArgs class.
LabelDropInputMode (string, )in LabelDropInputModeInitializes a new instance of the LabelDropInputMode class for the given data type.
MovementInfo (Point, MoveTypes, IModelItem)in MovementInfoInitializes a new instance of the MovementInfo class.
NavigationInputMode ()in NavigationInputModeInitializes a new instance of the NavigationInputMode class.
findNearestItem (IInputModeContext, IModelItem, MoveFocusDirection, IEnumerable<IModelItem>)in NavigationInputModeDetermines the nearest item in the given direction.
getReferenceLocation (IModelItem)in NavigationInputModeDetermines the reference location for a given IModelItem
onSetCurrentItem (GraphComponent, IModelItem)in NavigationInputModeActually sets the current item property.
selectItem (GraphComponent, IModelItem, boolean)in NavigationInputModeSelects the given item.
setCurrentItem (IModelItem)in NavigationInputModeSets the "current" item to the given one.
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.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point)in OrthogonalSnapLineCollects a valid SnapResult that snaps the movedPoint to this orthogonal line.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to this orthogonal line.
collectSegmentSnapResult (CollectSnapResultsEventArgs, IModelItem, number, number, number, SnapLineSnapTypes)in OrthogonalSnapLineCalculates a valid SnapResult that snaps the orthogonal segment defined by the given parameters to this orthogonal line.
PortDropInputMode (string, )in PortDropInputModeInitializes a new instance of the PortDropInputMode class for the given data type.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point, number)in SnapCircleCollects a valid SnapResult that snaps the movedPoint to this circle.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point, GridSnapTypes)in SnapGridCollects a valid SnapResult that snaps the movedPoint to grid points or lines of the gridInfo depending on the gridSnapTypes.
collectReshapedCornerSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect)in SnapGridCollects a valid SnapResult that snaps the corner of the reshaped rectangle that corresponds to the reshapePosition to a grid point.
collectReshapedSideSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect, SnapLineSnapTypes)in SnapGridCalculates a valid SnapResult that snaps the side of a reshaped rectangle described by the snapType to a grid line.
collectPointSnapResult (CollectSnapResultsEventArgs, IModelItem, Point)in SnapLineCollects a valid SnapResult that snaps the movedPoint to this line.
SnapResult (SnapConstraint, number, any?, IModelItem?, Point?, SnapReference?, IObjectRenderer<SnapResult>?)in SnapResultInitializes the tag, weight and constraint with the given values.
createCircleSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapCircle, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult that snaps to a given circle.
createLineSnapResult (SnapConstraint, number, any, IModelItem, Point, SnapLine, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult which represents a SnapLine to which the current moved item will potentially snap.
createResizeSnapResult (SnapConstraint, number, any, IModelItem?, SnapSize?, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult which snaps to a given size through a resize operation.
createSnapResult (SnapConstraint, number, any?, IModelItem?, Point?, SnapReference?, IObjectRenderer<SnapResult>?)in SnapResultFactory method that creates a SnapResult using the given constraint.
collectReshapeSnapResult (CollectSnapResultsEventArgs, ReshapeRectangleContext, IModelItem, Rect)in SnapSizeCalculates a valid SnapResult that snaps the width or height of a reshaped rectangle to the size.
StripeDropInputMode (string, )in StripeDropInputModeInitializes a new instance of the StripeDropInputMode class for the given data type.
TableEditorInputMode ()in TableEditorInputModeCreates a new instance.
editLabelOnDoubleClick (IModelItem)in TableEditorInputModeStarts label editing by executing EDIT_LABEL.
onDeletedItem (InputModeItemEventArgs<IModelItem>)in TableEditorInputModeRaises the deleted-item event.
onItemClicked (TableItemClickedEventArgs<IModelItem>)in TableEditorInputModeRaises the item-clicked event.
onItemDoubleClicked (TableItemClickedEventArgs<IModelItem>)in TableEditorInputModeRaises the item-double-clicked event.
onItemLeftClicked (TableItemClickedEventArgs<IModelItem>)in TableEditorInputModeRaises the item-left-clicked event.
onItemLeftDoubleClicked (TableItemClickedEventArgs<IModelItem>)in TableEditorInputModeRaises the item-left-double-clicked event.
onItemRightClicked (TableItemClickedEventArgs<IModelItem>)in TableEditorInputModeRaises the item-right-clicked event.
onItemRightDoubleClicked (TableItemClickedEventArgs<IModelItem>)in TableEditorInputModeRaises the item-right-double-clicked event.
LayoutExecutor (GraphComponent, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutor (GraphComponent, IGraph, ILayoutAlgorithm, )in LayoutExecutorInitializes a new instance of the LayoutExecutor class.
LayoutExecutorAsync (function(object):Promise<object>, GraphComponent, LayoutDescriptor?, LayoutData<INode,IEdge,ILabel,ILabel>?, )in LayoutExecutorAsyncCreates a new instance of a layout execution helper that will asynchronously perform the calculations and optionally animate the layout on the given graphComponent.
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.
configureAreaOutline (IEnumerable<IModelItem>, number, boolean?)in ClearAreaLayoutCreates and sets the value of the property areaOutline of the layout determined from the items.
configureAreaOutline (IEnumerable<IModelItem>)in FillAreaLayoutCreates and sets the value of the property area of the layout determined from the items.
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.
applyLayoutAnimated (ILayoutAlgorithm, TimeSpan?, LayoutData<INode,IEdge,ILabel,ILabel>?, TimeSpan?, TimeSpan?, boolean?, ItemMapping<IPort,PortAdjustmentPolicy>?, ItemMapping<IPort,PortPlacementPolicy>?, ItemMapping<ILabel,PortLabelPolicy>?, ItemMapping<IModelItem,LayoutAnchoringPolicy>?, Insets?, ItemMapping<ILabel,LabelPlacementPolicy>?, function(INode, INode):number?, function(IEdge, IEdge):number?)in GraphComponentRuns a layout on the graph of the GraphComponent and animates the transition.
compareRenderOrder (IModelItem, IModelItem)in GraphModelManagerCompares two items with respect to their rendering order.
getMainRenderTreeElement (IModelItem)in GraphModelManagerRetrieves the IRenderTreeElement for a given model item that can be used for z-order or visibility operations.
getRenderTreeElement (IModelItem)in GraphModelManagerRetrieves the IRenderTreeElement visualizing a given model item managed by this instance.
lower (IModelItem)in GraphModelManagerLowers the visual representation of the item below its current predecessor.
lower (IEnumerable<IModelItem>)in GraphModelManagerLowers the visual representations of all IModelItems in items below their current predecessors.
raise (IModelItem)in GraphModelManagerRaises the visual representation of the item above its current successor.
raise (IEnumerable<IModelItem>)in GraphModelManagerRaises the visual representations of all IModelItems in items above their current successors.
toBack (IModelItem)in GraphModelManagerLowers the visual representation of the item to the back.
toBack (IEnumerable<IModelItem>)in GraphModelManagerLowers the visual representation of all IModelItems in items to the back.
toFront (IModelItem)in GraphModelManagerRaises the visual representation of the item to the front.
toFront (IEnumerable<IModelItem>)in GraphModelManagerRaises the visual representations of all IModelItems in items to the front.
update (IModelItem)in GraphModelManagerUpdates the visual representation of the given item.
getAnimations (IModelItem)in WebGLGraphModelManagerReturns the currently associated animations for the given item.
addItem (IModelItem)in WebGLHighlightIndicatorManager
removeItem (IModelItem)in WebGLHighlightIndicatorManager
addItem (IModelItem)in WebGLSelectionIndicatorManager
removeItem (IModelItem)in WebGLSelectionIndicatorManager

Extending Types

WebGLFocusIndicatorManagerA specialization of the FocusIndicatorManager<T> class that delegates its work to WebGLGraphModelManager.
WebGLHighlightIndicatorManagerA specialization of the HighlightIndicatorManager<T> class that delegates its work to WebGLGraphModelManager.
WebGLSelectionIndicatorManagerA specialization of the SelectionIndicatorManager<T> class that delegates its work to WebGLGraphModelManager.

Implementing Types

IBendThe interface used in an IGraph implementation to control the layout of edges.
IEdgeThe interface used to model edges in an IGraph implementation.
ILabelThe interface used in an IGraph implementation for labels.
ILabelOwnerCommon interface for items in an IGraph implementation that may own labels.
IPortOwnerThe common interface for items in an IGraph that may own ports.
IGraphSelectionManages the selection state of items in an IGraph instance.