Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
5f81d963
Commit
5f81d963
authored
Jan 16, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diag/net: graphme restyling
parent
4a176d14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
bin/graphmd
bin/graphmd
+7
-1
No files found.
bin/graphmd
View file @
5f81d963
...
...
@@ -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 }'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment