Sfoglia il codice sorgente

Move control-flow-graph stuff

Martin Thoma 9 anni fa
parent
commit
c286e9fa76

+ 6 - 4
tikz/teststrategien-anschaulich/Makefile

@@ -1,14 +1,14 @@
-SOURCE = teststrategien-anschaulich
+SOURCE = control-flow-graph
 DELAY = 80
 DENSITY = 300
-WIDTH = 500
+WIDTH = 512
 
 make:
 	pdflatex $(SOURCE).tex -output-format=pdf
 	make clean
 
 clean:
-	rm -rf  $(TARGET) *.class *.html *.log *.aux
+	rm -rf  $(TARGET) *.class *.html *.log *.aux *.data *.gnuplot
 
 gif:
 	pdfcrop $(SOURCE).pdf
@@ -28,4 +28,6 @@ svg:
 	#inkscape $(SOURCE).pdf --export-plain-svg=$(SOURCE).svg
 	pdf2svg $(SOURCE).pdf $(SOURCE).svg
 	# Necessary, as pdf2svg does not always create valid svgs:
-	inkscape $(SOURCE).svg --export-plain-svg=$(SOURCE).svg
+	inkscape $(SOURCE).svg --export-width=$(WIDTH) --export-plain-svg=$(SOURCE)1.svg
+	rsvg-convert -a -w 720 -f svg $(SOURCE)1.svg -o $(SOURCE).svg
+	rm $(SOURCE)1.svg

+ 3 - 0
tikz/control-flow-graph/README.md

@@ -0,0 +1,3 @@
+Compiled example
+----------------
+![Example](control-flow-graph.png)

BIN
tikz/control-flow-graph/control-flow-graph.png


File diff suppressed because it is too large
+ 43 - 0
tikz/control-flow-graph/control-flow-graph.svg


tikz/teststrategien-anschaulich/teststrategien-anschaulich.tex → tikz/control-flow-graph/control-flow-graph.tex


+ 0 - 3
tikz/teststrategien-anschaulich/README.md

@@ -1,3 +0,0 @@
-Compiled example
-----------------
-![Example](teststrategien-anschaulich.png)

BIN
tikz/teststrategien-anschaulich/teststrategien-anschaulich.png