default: $(CPROGS) for-test-ui
all: default lpages layers extras
-for-test-ui: ours.dgram-bot.segcmap subseg2display \
- ui-plan-bot.ppm ours.graph.c ours.redactgraph
+for-test-ui: ours.graph.c ours.redactgraph ours.raw.neato.ps \
+ ours.dgram-bot.segcmap subseg2display ui-plan-bot.ppm
layers: $(LAYERS)
lpages: $(LPAGES)
compose-segenco: compose-segenco.o
$(LINK) $(NETPBM)
+%.neato.ps: %.neato
+ neato -Tps <$< $o
+
+%.raw.neato: %.redactgraph
+ ./$< printforneato $o
+
%.redactgraph: %.graph.o redactgraph.o
$(LINK)
-rm -f $(CPROGS) *.o
.PRECIOUS: $(OPRINTS)
-.PRECIOUS: %.segcmap %.segcmapreq %.segenco.ppm %.d4
+.PRECIOUS: %.segcmap %.segcmapreq %.segenco.ppm %.d4 %.neato
output("digraph L {\n");
for (node=all_nodes.head; node; node=node->next) {
- output(" n%pO -> n%pI [len=0];\n",
+ output(" n%pO [label=\"O\"];\n"
+ " n%pI [label=\"+\"];\n",
+ node, node);
+ output(" n%pO -> n%pI [len=0.25 arrowsize=0];\n",
node, node);
for (side=0; side<2; side++) {
for (edgeend=node->sides[side].head; edgeend; edgeend=edgeend->next) {