|
@ -866,13 +866,19 @@ function releaseFunction (clusterPosition, containedNodesPositions) { |
|
|
</tr> |
|
|
</tr> |
|
|
<tr class="collapsible toggle" onclick="toggleTable('methodTable','getConnectedNodes', this);"> |
|
|
<tr class="collapsible toggle" onclick="toggleTable('methodTable','getConnectedNodes', this);"> |
|
|
<td colspan="2"><span parent="getConnectedNodes" class="right-caret" id="method_getConnectedNodes"></span> getConnectedNodes(<code><i>String |
|
|
<td colspan="2"><span parent="getConnectedNodes" class="right-caret" id="method_getConnectedNodes"></span> getConnectedNodes(<code><i>String |
|
|
nodeId or edgeId</i></code>) |
|
|
|
|
|
|
|
|
nodeId or edgeId, [String direction]</i></code>) |
|
|
</td> |
|
|
</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr class="hidden" parent="getConnectedNodes"> |
|
|
<tr class="hidden" parent="getConnectedNodes"> |
|
|
<td class="midMethods">Returns: Array</td> |
|
|
<td class="midMethods">Returns: Array</td> |
|
|
<td>Returns an array of nodeIds of the all the nodes that are directly connected to this node. If you supply an edgeId, |
|
|
|
|
|
vis will first match the id to nodes. If no match is found, it will search in the edgelist and return an array: <code>[fromId, toId]</code>.</td> |
|
|
|
|
|
|
|
|
<td>Returns an array of nodeIds of all the nodes that are directly connected to this node or edge.<br><br> |
|
|
|
|
|
For a node id, returns an array with the id's of the connected nodes.<br> |
|
|
|
|
|
If optional parameter <code>direction</code> is set to string <i>'from'</i>, only parent nodes are returned.<br> |
|
|
|
|
|
If <code>direction</code> is set to <i>'to'</i>, only child nodes are returned.<br> |
|
|
|
|
|
Any other value or <code>undefined</code> returns both parent and child nodes. |
|
|
|
|
|
<br><br> |
|
|
|
|
|
For an edge id, returns an array: <code>[fromId, toId]</code>. |
|
|
|
|
|
Parameter <i>direction</i> is ignored for edges.</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr class="collapsible toggle" onclick="toggleTable('methodTable','getConnectedEdges', this);"> |
|
|
<tr class="collapsible toggle" onclick="toggleTable('methodTable','getConnectedEdges', this);"> |
|
|
<td colspan="2"><span parent="getConnectedEdges" class="right-caret" id="method_getConnectedEdges"></span> getConnectedEdges(<code><i>String |
|
|
<td colspan="2"><span parent="getConnectedEdges" class="right-caret" id="method_getConnectedEdges"></span> getConnectedEdges(<code><i>String |
|
|