You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# graphlib2dot
2
2
3
-
This command line tool takes a graphlib JSON document and converts it into a
3
+
This command line tool can convert between a graphlib JSON document and a
4
4
dot file.
5
5
6
6
## Installation
@@ -25,5 +25,12 @@ Or specify a file:
25
25
graphlib2dot -f graph.json
26
26
```
27
27
28
+
You can also convert in the other direction:
29
+
30
+
```
31
+
cat graph.dot | dot2graphlib
32
+
dot2graphlib -f graph.dot
33
+
```
34
+
28
35
You can create a JSON representation of your graphlib Graph via
29
-
`graphlib.json.write`. More info [here](https://github.com/cpettitt/graphlib/wiki/API-Reference#json-write).
36
+
`graphlib.json.write` and deserialize them via `graphlib.json.read`. More info [here](https://github.com/cpettitt/graphlib/wiki/API-Reference#json-write).
0 commit comments