|
@ -273,6 +273,9 @@ Network.prototype._updateVisibleIndices = function () { |
|
|
|
|
|
|
|
|
if (!this.clustering._isClusteredEdge(edgeId) |
|
|
if (!this.clustering._isClusteredEdge(edgeId) |
|
|
&& edge.options.hidden === false |
|
|
&& edge.options.hidden === false |
|
|
|
|
|
// Not all nodes may be present due to interim refresh
|
|
|
|
|
|
&& nodes[edge.fromId] !== undefined |
|
|
|
|
|
&& nodes[edge.toId ] !== undefined |
|
|
// Also hidden if any of its connecting nodes are hidden
|
|
|
// Also hidden if any of its connecting nodes are hidden
|
|
|
&& nodes[edge.fromId].options.hidden === false |
|
|
&& nodes[edge.fromId].options.hidden === false |
|
|
&& nodes[edge.toId ].options.hidden === false) { |
|
|
&& nodes[edge.toId ].options.hidden === false) { |
|
|