Constructor
new NonExistedGraph()
var NonExistedGraph = factoryNonExistedGraph(Graph);
- Source:
Methods
insert()
Illegal operation!
- Source:
on(event, callback)
Standard graph on method, but considering substitution the remove to the update.
Parameters:
Name | Type | Description |
---|---|---|
event |
string | name |
callback |
ExistedGraphonCallback |
- Source:
query(selector) → {*}
Standard graph query, but visible only links where removed is undefined.
Parameters:
Name | Type | Description |
---|---|---|
selector |
string | LinkSelector |
- Source:
Returns:
query
- Type
- *
update(selector, modifier, callbackopt, contextopt) → {number}
Standard graph update, but with locked removed field in modifier.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
selector |
string | LinkSelector | ||
modifier |
LinkModifier | ||
callback |
ExistedGraph~updateCallback |
<optional> |
|
context |
Object |
<optional> |
- Source:
Returns:
[count]
- Type
- number