diff --git a/viewer/js/xdot2cy.js b/viewer/js/xdot2cy.js
index 7f73ca1..ce3a267 100644
--- a/viewer/js/xdot2cy.js
+++ b/viewer/js/xdot2cy.js
@@ -1271,6 +1271,7 @@ function disableVolatileControls() {
$("#cullEdgesInput").prop("disabled", true);
$("#cullEdgesInput").val("0"); // reset to avoid confusion
disableButton("cullEdgesButton");
+ disableButton("filterEdgesButton");
disableButton("reduceEdgesButton");
disableButton("layoutButton");
disableButton("scaffoldFileselectButton");
@@ -1901,6 +1902,7 @@ function finishDrawComponent(cmpRank, componentNodeCount, componentEdgeCount,
// weights (multiplicity or bundle size)
$("#cullEdgesInput").prop("disabled", false);
enableButton("cullEdgesButton");
+ enableButton("filterEdgesButton");
}
if (componentEdgeCount > 0) {
enableButton("reduceEdgesButton");
@@ -2175,6 +2177,15 @@ function exportGraphView() {
}
}
+/* Opens the dialog for filtering edges. */
+function openEdgeFilteringDialog() {
+ $("#edgeFilteringDialog").modal();
+ // TODOs:
+ // -move edge filtering textbox to dialog
+ // -add d3 chart stuff
+ // -etc
+}
+
/* Hides edges below a minimum edge weight (multiplicity or bundle size,
* depending on the assembly graph that has been loaded).
* This should only be called if the assembly graph that has been loaded has