documentationfor yFiles for HTML 3.0.0.3

Usages of GraphItemTypes

Properties

independentItemsin IntersectionsGets or sets the type of items that are considered independently of their owning element when calculating the IntersectionsResult.
copyItemsin GraphClipboardGets or sets the type of items that can be copied and pasted using the clipboard.
dependentCopyItemsin GraphClipboardGets or sets the type of items that depend on other items but should automatically be copied implicitly to the clipboard if all items that they depend on are explicitly selected for copying.
independentCopyItemsin GraphClipboardGets or sets the type of items that can be copied and pasted independently of their owning item.
creationSelectableItemsin GraphEditorInputModeGets or sets which types of items should be selected after creation.
deletableItemsin GraphEditorInputModeGets or sets which types of items may be deleted using the deleteSelection action.
labelEditableItemsin GraphEditorInputModeGets or sets which types of items may have their labels edited or added.
movableSelectedItemsin GraphEditorInputModeGets or sets which types of items should be movable using the moveSelectedItemsInputMode.
movableUnselectedItemsin GraphEditorInputModeGets or sets which types of items should be movable using the moveUnselectedItemsInputMode.
pasteSelectableItemsin GraphEditorInputModeGets or sets which types of items should be selected after paste or duplicateSelection.
showHandleItemsin GraphEditorInputModeGets or sets which types of items should have their IHandles shown.
clickableItemsin GraphInputModeGets or sets which types of items should be reported through the item click events.
clickHitTestOrderin GraphInputModeGets or sets the order of the types of items that should be used to determine what item has been clicked or tapped.
clickSelectableItemsin GraphInputModeGets or sets which types of items should be selectable by mouse clicks.
contextMenuItemsin GraphInputModeGets or sets the types of items a context menu should be queried for.
doubleClickHitTestOrderin GraphInputModeGets or sets the order of the types of items that should be used to determine what item has been double-clicked or double-tapped.
focusableItemsin GraphInputModeGets or sets the items that can be given focus via the setCurrentItem method.
marqueeSelectableItemsin GraphInputModeGets or sets which types of items should be selected during marquee selections or lasso selection.
selectableItemsin GraphInputModeGets or sets which types of items should be selectable at all.
toolTipItemsin GraphInputModeGets or sets the types of the items that should be queried for a tooltip.
hoverItemsin ItemHoverInputModeGets or sets which graph items are considered by this input mode.
navigableItemsin NavigationInputModeGets or sets the item types that can be navigated to by this mode.
selectableItemsin NavigationInputModeGets the types of the items that should be selectable by this instance.
snappableItemsin SnapReferenceGets which types of items may snap to this snap reference.

Method Return Values

from (GraphItemTypes)in GraphItemTypesConverts the given argument to an enum constant of this enum type.
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.

Method Parameters

Intersections ()in IntersectionsCreates a new Intersections instance with default settings.
GraphClipboard ()in GraphClipboardCreates a new initially empty clipboard.
enumerableContainsTypes (GraphItemTypes, IEnumerable<IModelItem>)in GraphItemTypesDetermines whether the specified items collection contains any of the types described by types.
from (GraphItemTypes)in GraphItemTypesConverts the given argument to an enum constant of this enum type.
getName (GraphItemTypes)in GraphItemTypesReturns the name of the given enum constant.
itemIsOfTypes (GraphItemTypes, IModelItem)in GraphItemTypesDetermines whether the item is of the specified types.
GraphEditorInputMode ()in GraphEditorInputModeCreates a new instance that is not bound to an existing graph or selection, initially.
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.
GraphViewerInputMode ()in GraphViewerInputModeInitializes a new instance of the GraphViewerInputMode class.
create (function(IInputModeContext, Point, GraphItemTypes):IEnumerable<IModelItem>)in IHitTester
enumerateHits (IInputModeContext, Point, GraphItemTypes?)in IHitTesterYields an enumerable that enumerates the hits for a given world coordinate.
ItemHoverInputMode ()in ItemHoverInputModeInitializes a new instance of the ItemHoverInputMode class.
NavigationInputMode ()in NavigationInputModeInitializes a new instance of the NavigationInputMode class.
OrthogonalSnapLine (SnapLineOrientation, SnapLineSnapTypes, SnapReferenceVisualizationType, Point, boolean, number, GraphItemTypes?, any?)in OrthogonalSnapLineCreates a new snap line using the provided attributes.
OrthogonalSnapLine (SnapLineOrientation, SnapLineSnapTypes, SnapReferenceVisualizationType, Point, number, number, boolean, number, GraphItemTypes?, any?)in OrthogonalSnapLineCreates a new snap line using the provided attributes.
SnapCircle (Point, number, number, number, number, GraphItemTypes, any?)in SnapCircleCreates a new snap reference using the provided information.
SnapGrid (GridInfo, number, GraphItemTypes, any?)in SnapGridCreates a new snap reference using the provided information.
SnapLine (SnapReferenceVisualizationType, Point, Point, Point, number, GraphItemTypes?, any?)in SnapLineCreates a new snap line using the provided attributes.
SnapReference (number?, GraphItemTypes?, any?)in SnapReferenceCreates a new snap reference using the provided attributes.
SnapSize (boolean, number, IEnumerable<Rect>, number, GraphItemTypes?, any?)in SnapSizeCreates a new instance using the provided attributes.
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