]> granicus.if.org Git - graphviz/commitdiff
Add comment to note the command letters the yoix people would like us to
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:14:20 +0000 (21:14 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:14:20 +0000 (21:14 +0000)
avoid in any future extension of the xdot format

lib/common/xdgen.c

index 204b2c44b0266cbed84fac13705dc01272e9e56f..540889561a96e727671fe9124015ad979cc8be41 100644 (file)
@@ -63,6 +63,14 @@ static int isInvis(char *style)
  * dot, etc. and 
  * these would be the arrow/label positions to use if a user want to flip the 
  * direction of an edge (as sometimes is there want).
+ * 
+ * N.B. John M. asks:
+ *   By the way, I don't know if you ever plan to add other letters for 
+ * the xdot spec, but could you reserve "a" and also "A" (for  attribute), 
+ * "n" and also "N" (for numeric), "w" (for sWitch),  "s" (for string) 
+ * and "t" (for tooltip) and "x" (for position). We use  those letters in 
+ * our drawing spec (and also "<" and ">"), so if you  start generating 
+ * output with them, it could break what we have. 
  */
 void extend_attrs(GVJ_t * job, graph_t *g, int s_arrows, int e_arrows)
 {