f8d4a7651a5843d1c0bfa90cdb7da7582615c263
kate
  Thu Aug 9 13:47:29 2018 -0700
Add filter to hide interactions lacking one or both ends in the window. Helpful for busy/noisy datasets.  refs #21109

diff --git src/hg/inc/interactUi.h src/hg/inc/interactUi.h
index 76440de..eaa577a 100644
--- src/hg/inc/interactUi.h
+++ src/hg/inc/interactUi.h
@@ -1,30 +1,36 @@
 /* interact track UI */
 
 /* Copyright (C) 2018 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
 #ifndef INTERACT_UI_H
 #define INTERACT_UI_H
 
 #define INTERACT_HEIGHT "heightPer"
 #define INTERACT_MINHEIGHT 20
 #define INTERACT_MAXHEIGHT 300
 #define INTERACT_DEFHEIGHT "200"
 #define INTERACT_MINSCORE "minScore"
 
 #define INTERACT_DIRECTIONAL    "interactDirectional"
 
 #define INTERACT_DRAW           "draw"
 #define INTERACT_DRAW_LINE      "line"
 #define INTERACT_DRAW_ELLIPSE   "ellipse"
 #define INTERACT_DRAW_CURVE     "curve"
 #define INTERACT_DRAW_DEFAULT   INTERACT_DRAW_CURVE
 
+#define INTERACT_ENDS_VISIBLE "endsVisible"
+#define INTERACT_ENDS_VISIBLE_TWO "two"
+#define INTERACT_ENDS_VISIBLE_ONE "one"
+#define INTERACT_ENDS_VISIBLE_ANY "any"
+#define INTERACT_ENDS_VISIBLE_DEFAULT INTERACT_ENDS_VISIBLE_ANY
+
 void interactCfgUi(char *database, struct cart *cart, struct trackDb *tdb, char *track,
                         char *title, boolean boxed);
 /* Configure interact track type */
 
 boolean interactUiDirectional(struct trackDb *tdb);
 /* Determine if interactions are directional */
 
 #endif