Commit 5f81d963 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

diag/net: graphme restyling

parent 4a176d14
......@@ -12,7 +12,13 @@ if [ "$#" -ne 1 ]; then
exit 1
fi
fmt='<src> -> <dst> [label="<linkname>"];'
src='<src> [fontsize=8 shape=box];'
dst='<dst> [fontsize=8 shape=box];'
edge='<src> -> <dst> [label="<linkname>"];'
fmt="$src
$dst
$edge"
echo "digraph {"
echo " graph [rankdir=LR];"
ipfs refs -r --format="$fmt" "$@" | awk '{ print "\t" $0 }'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment