d55f8036a2a03c72c31b2e70d6adb22d8d0301cb
kate
  Thu Aug 9 15:52:05 2018 -0700
Add setting to offset target endpoints from source endpoints. refs #21109

diff --git src/hg/inc/interactUi.h src/hg/inc/interactUi.h
index eaa577a..c1ab347 100644
--- src/hg/inc/interactUi.h
+++ src/hg/inc/interactUi.h
@@ -1,36 +1,44 @@
 /* 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_OFFSET         "offset"
+// trackDb settings:
+//      interactDirectional on          use dashes for reverse direction
+//      interactDirectional offset      use dashes for reverse direction, and offset sources and targets
 
 #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 */
 
+boolean interactUiOffset(struct trackDb *tdb);
+/* Determine if interactions are directional:
+ *      setting: interactDirectional offset */
+
 #endif