Creates filter with HTML elements, filter functionality and listeners.
a Cytoscape.js selector, see http://js.cytoscape.org/#selectors
internationalization key
ReadonlyaReadonlycheckboxReadonlycssReadonlylabelReadonlyselectorSet the visibility of the nodes selected by the filter. visible whether the nodes should be visible
label
the label
StaticaddAdd filter entries to the filter menu.
the parent element to attach the entries to
an empty array of HTML anchors to be filled
StaticfromLoads the visibility values and applies it to all filters. The graph itself is restored from the saved Cytoscape JSON which already contains the filter classes, this only synchronizes the checkboxes. Missing values default to visible for compatibility with older save files.
JSON representation of all filters
StaticsetShow or hide the elements of all filters at once.
whether all filterable elements should be visible
StatictoSaves the visibility values of all filters.
JSON representation of all filters
Toggles the visibility of a set of nodes defined by a selector.