chiark / gitweb /
segment labelling work-in-progress - yet to do are labels and graph colouring
[trains.git] / layout / informat.txt
index 916f1f6fbb10715c10c32d984dcc5fb91e3dfff4..ba9f55a6ced3e29b846efe60f8b10e39cc800e8c 100644 (file)
@@ -194,6 +194,18 @@ Commands
   namespace as a new loc PL (unless PL already exists).  P may be `='
   to indicate an empty prefix (default is not to export locs).
 
+ segcmap S P...
+  Map segment S to colours using postscript commands P... (which
+  should be a postscript fragment to modify the graphics state,
+  typically `N setgray' or the like.  This is used for the drawing
+  element Q (see below).  S should be the bare segment (no movfeat).
+
+ segend S
+  Notes that segment S (which should not specify a movfeat) has
+  an end at this location.  This is fed back from extractgraph's run
+  on a previous result of running layout, and used to determine where
+  to place the segment labels for E.  NOT YET IMPLEMENTED
+
 Command-line options
 
  -D       turn on debug (level 1)  } currently only debug levels are
@@ -224,7 +236,7 @@ Command-line options
               l  do not label any locs                              l
             label distances
               D  label all distances                                D
-              d  do not label any locs                              d
+              d  do not label any distances
             bars at locs (thick lines perp to track dir'n)
               M  bars for top-level locs only                       Mnog
               N  bars for top-level locs and those in obj's         MNog
@@ -238,6 +250,7 @@ Command-line options
           individual elements
               A  draw track swept area, with ticks
               R  draw track rails
+              Q  draw track segment fills according to segcmap
               S  draw track sleepers
               C  draw track centrelines
               L  label locs