File: dot

package info (click to toggle)
openms 1.11.1-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 436,688 kB
  • ctags: 150,907
  • sloc: cpp: 387,126; xml: 71,547; python: 7,764; ansic: 2,626; php: 2,499; sql: 737; ruby: 342; sh: 325; makefile: 128
file content (22 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash

# $Maintainer: Clemens Groepl $
# $Authors: $

# NOTE 1:
# The following is a hack around the actual "dot" program
# which increases the linewidth in the generated figures.
# Note that the PATH must not include this directory in order to avoid cycles.
# Doxygen apparently does not allow us to use another name for the dot program. (?!)
# Any suggestions to improve the way all this is done are highly welcome!

# NOTE 2:
# The dot program from graphviz RPMs in openSUSE 10.3 seems to lack png support (?!)
# I had to build it from sources.  You may wish to enable antialiasing etc. in freetype
# (but note the patent issues involved).

echo '"fat" dot is being called:' dot $@

sed -i 's/style="/arrowsize=1.3,style="setlinewidth(2),/' $1
dot $@