E

SnapReferenceVisualizationType

Enumeration of snap reference visualization types.

Remarks

Determines the visual appearance and CSS class of the snap references.

See Also

An overview of the different CSS styling options is presented in detail in the section CSS Styling Snap References .

Members

No filters for this type

Constants

Determines a blank line between the coordinates and the itemAnchor.
Uses the yfiles-snap-reference-blank-variable-line CSS class.
static

See Also

Developer's Guide
Determines a snap line which lets an item snap in the center between two bounds of other items.
Uses the yfiles-snap-reference-center-between-bounds CSS class.
static

See Also

Developer's Guide
Determines a snap line which lets an item snap in the center between two centers of other items.
Uses the yfiles-snap-reference-center-between-centers CSS class.
static

See Also

Developer's Guide
Determines a snap line for an edge segment with three marks for special start, end, and center positions.
Uses the yfiles-snap-reference-edge-segment CSS class.
static

See Also

Developer's Guide
Determines a snap line which lets an item snap if it has an equal distance to two other items.
Uses the yfiles-snap-reference-equal-distance-between-bounds CSS class.
static

See Also

Developer's Guide
Determines a snap line which lets an item snap if its center has an equal distance to the centers of two other items.
Uses the yfiles-snap-reference-equal-distance-between-centers CSS class.
static

See Also

Developer's Guide
Determines the snapping of a resized item if its new height is equal to another item.
Uses the yfiles-snap-reference-equal-height CSS class.
static

See Also

Developer's Guide
Determines the snapping of a resized item if its new width is equal to another item.
Uses the yfiles-snap-reference-equal-width CSS class.
static

See Also

Developer's Guide
Determines a decorated line between the coordinates and the itemAnchor that is extended on both sides.
Uses the yfiles-snap-reference-extended-variable-line CSS class.
static

See Also

Developer's Guide
Determines a snap line which snaps to a distance between different graph items.
Uses the yfiles-snap-reference-fixed-distance CSS class.
static

See Also

Developer's Guide
Determines a snap line having a fixed visualization independent of the SnapResult.
Uses the yfiles-snap-reference-fixed-line CSS class.
static

See Also

Developer's Guide
Determines a snap line for snapping to a grid line.
Uses the yfiles-snap-reference-grid-fixed-line CSS class.
static

See Also

Developer's Guide
Determines a snap line that doesn't have a visualization.
Determines a decorated line between the coordinates and the itemAnchor.
Uses the yfiles-snap-reference-variable-line CSS class.
static

See Also

Developer's Guide

Static Methods

Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

Parameters

value: SnapReferenceVisualizationType
The value to convert to an enum constant.

Return Value

SnapReferenceVisualizationType
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: SnapReferenceVisualizationType
The numeric value of an enum constant.

Return Value

string
The name of the enum constant.

Throws

Exception ({ name: 'Error' })
If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.