Skip to content

Commit 6043b64

Browse files
committedJan 7, 2016
(doc) Describe back conversion.
1 parent cedd197 commit 6043b64

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed
 

‎README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# graphlib2dot
22

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
44
dot file.
55

66
## Installation
@@ -25,5 +25,12 @@ Or specify a file:
2525
graphlib2dot -f graph.json
2626
```
2727

28+
You can also convert in the other direction:
29+
30+
```
31+
cat graph.dot | dot2graphlib
32+
dot2graphlib -f graph.dot
33+
```
34+
2835
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

Comments
 (0)