提交 5f81d963 作者: Juan Batiz-Benet

diag/net: graphme restyling

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论