NgDiagramNodeTemplateMap
Map that associates node type names with their corresponding Angular component classes. Used by ng-diagram to determine which custom node component to render based on node type.
Extends
Section titled “Extends”Map
<string
,Type
<NgDiagramNodeTemplate
<any
>> |Type
<NgDiagramGroupNodeTemplate
<any
>>>
Properties
Section titled “Properties”
readonly
size:number
Returns
Section titled “Returns”the number of elements in the Map.
Inherited from
Section titled “Inherited from”Map.size
Methods
Section titled “Methods”[iterator]()
Section titled “[iterator]()”[iterator]():
MapIterator
<[string
,Type$1
<NgDiagramNodeTemplate
<any
,SimpleNode
<any
>>> |Type$1
<NgDiagramGroupNodeTemplate
<any
>>]>
Returns an iterable of entries in the map.
Returns
Section titled “Returns”MapIterator
<[string
, Type$1
<NgDiagramNodeTemplate
<any
, SimpleNode
<any
>>> | Type$1
<NgDiagramGroupNodeTemplate
<any
>>]>
Inherited from
Section titled “Inherited from”Map.[iterator]
delete()
Section titled “delete()”delete(
key
):boolean
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
true if an element in the Map existed and has been removed, or false if the element does not exist.
Inherited from
Section titled “Inherited from”Map.delete
entries()
Section titled “entries()”entries():
MapIterator
<[string
,Type$1
<NgDiagramNodeTemplate
<any
,SimpleNode
<any
>>> |Type$1
<NgDiagramGroupNodeTemplate
<any
>>]>
Returns an iterable of key, value pairs for every entry in the map.
Returns
Section titled “Returns”MapIterator
<[string
, Type$1
<NgDiagramNodeTemplate
<any
, SimpleNode
<any
>>> | Type$1
<NgDiagramGroupNodeTemplate
<any
>>]>
Inherited from
Section titled “Inherited from”Map.entries
forEach()
Section titled “forEach()”forEach(
callbackfn
,thisArg?
):void
Executes a provided function once per each key/value pair in the Map, in insertion order.
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(value
, key
, map
) => void
thisArg?
Section titled “thisArg?”any
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Map.forEach
get(
key
):undefined
|Type$1
<NgDiagramNodeTemplate
<any
,SimpleNode
<any
>>> |Type$1
<NgDiagramGroupNodeTemplate
<any
>>
Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”undefined
| Type$1
<NgDiagramNodeTemplate
<any
, SimpleNode
<any
>>> | Type$1
<NgDiagramGroupNodeTemplate
<any
>>
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
Inherited from
Section titled “Inherited from”Map.get
has(
key
):boolean
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
boolean indicating whether an element with the specified key exists or not.
Inherited from
Section titled “Inherited from”Map.has
keys()
Section titled “keys()”keys():
MapIterator
<string
>
Returns an iterable of keys in the map
Returns
Section titled “Returns”MapIterator
<string
>
Inherited from
Section titled “Inherited from”Map.keys
set(
key
,value
):this
Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.
Parameters
Section titled “Parameters”string
Type$1
<NgDiagramNodeTemplate
<any
, SimpleNode
<any
>>> | Type$1
<NgDiagramGroupNodeTemplate
<any
>>
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”Map.set
values()
Section titled “values()”values():
MapIterator
<Type$1
<NgDiagramNodeTemplate
<any
,SimpleNode
<any
>>> |Type$1
<NgDiagramGroupNodeTemplate
<any
>>>
Returns an iterable of values in the map
Returns
Section titled “Returns”MapIterator
<Type$1
<NgDiagramNodeTemplate
<any
, SimpleNode
<any
>>> | Type$1
<NgDiagramGroupNodeTemplate
<any
>>>
Inherited from
Section titled “Inherited from”Map.values