forked from cytoscape/cytoscape.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Collection visible
maxkfranz edited this page Dec 1, 2011
·
1 revision
Get whether the element is visible.
Gets whether the element is visible
This function returns true if the renderer determines that the element is visible. The default SVG renderer determines that an element is visible if in its calculated visual style, visibility is visible. The opacity visual property does not come into play: An element with opacity set to 0 is still considered visible if visibility is visible.
For a collection, whether the first element is visible is returned.
var isN1Visible = cy.nodes("#n1").visible();