diff --git a/bin/graphmd b/bin/graphmd index aabe4d027..7b80b11f5 100755 --- a/bin/graphmd +++ b/bin/graphmd @@ -12,7 +12,13 @@ if [ "$#" -ne 1 ]; then exit 1 fi -fmt=' -> [label=""];' +src=' [fontsize=8 shape=box];' +dst=' [fontsize=8 shape=box];' +edge=' -> [label=""];' +fmt="$src +$dst +$edge" + echo "digraph {" echo " graph [rankdir=LR];" ipfs refs -r --format="$fmt" "$@" | awk '{ print "\t" $0 }'