summaryrefslogtreecommitdiffstats
path: root/scripts/dot_to_svg.sh
blob: e4da7e43d8ab1ba80f7f808f79615c8e6eeff5e9 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

for i in *.gv
do
  echo "$i"
  outputsvg=${i//gv/svg}
  echo "$outputsvg"
  dot -v -Tsvg:cairo -o "$outputsvg" "$i"
done