/*
* output format from printforforsafety is lines like this:
- * segment <node>.<side> <node>.<side> <segment>[/<movinfo>]
+ * segment <node>.<side> <node>.<side> <segment>[/<movinfo>] <distance>
* #... (comment)
* (blank)
* end (at end of file, mandatory)
* <movinfo> is <movfeat><movpos>[<movfeat><movpos>...]*<combpos>
* where <movfeat> is alphabetic and <movpos> is and
* <combpos> are in decimal and have no unnecessary leading 0's
+ * <distance> contains only digits and perhaps decimal point
* semantic restrictions (not enforced by redactgraph but ought to
* be impossible for layout designer to violate):
* Each <segment>[/<movinfo>] appears exactly once.
}
output("*%d", edge->movpos);
}
- output("\n");
+ output(" %f\n", edge->distance);
}
}
output("end\n");