show/ hide edges by type

Issue #60 new
Dan Bean created an issue

this can be done by changing the visibility property of the visual style classes for each edge type e.g.

//edges
cy.style()
  .selector('edge.genetic')
    .css({
      'visibility': 'hidden'
    })
  .update() //nothing changes untill you call this

This should be controlled by checkboxes for each edge type somewhere on the page.

Comments (0)

  1. Log in to comment