An enumeration for use in various properties that can take a bitwise combination of item types that make up an IGraph
Remarks
The values may be used to create a bitwise combination of the types.
See Also
Developer's Guide
Members
No filters for this type
Constants
This is a bitwise combination of all other types declared in this enum.
static
Constant for all kinds of ILabelOwner.
Constant for all kinds of ILabelOwner.
Static Methods
Determines whether the specified items collection contains any of the types described by types.
Determines whether the specified items collection contains any of the types described by
types.static
Parameters
- types: GraphItemTypes
- The types.
- items: IEnumerable<IModelItem>
- The items.
Return Value
- boolean
trueif the specified items contain any of the types;falseotherwise.
Converts the given argument to an enum constant of this enum type.
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: GraphItemTypes
- The value to convert to an enum constant.
Return Value
- GraphItemTypes
- The enum constant that corresponds to the given argument.
Gets the type of the item.
Gets the type of the item.
Determines the types of the items contained in the collection of items.
Determines the types of the items contained in the collection of items.
static
Parameters
- items: IEnumerable<IModelItem>
- The items.
Return Value
- GraphItemTypes
- The types of the items.
Returns the name of the given enum constant.
Returns the name of the given enum constant.
static
Parameters
- value: GraphItemTypes
- 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.
Determines whether the item is of the specified types.
Determines whether the
item is of the specified types.static
Parameters
- types: GraphItemTypes
- The type.
- item: IModelItem
- The item.
Return Value
- boolean
trueif theitemis of the specifiedtypes;falseotherwise.