Skip to content

cy.unemphasize()

cy.unemphasize — Core > Emphasis. Cytoscape.js signatures, parameters and return contract.

cy.unemphasize — Core › Emphasis

Preview · Core › Emphasis

Read in the complete API reference · All API members

// End the emphasis: clear the emphasized set and stop dimming
cy.unemphasize(): this

End the emphasis: clear the emphasized set and stop dimming. A no-op when no emphasis is set.

Returns this

this core, for chaining

Example

cy.emphasize(cy.getElementById('a'));
cy.unemphasize();
console.log(cy.getElementById('a').emphasized()); // false

Example graph and handle setup