Skip to content

Commit 74977d3

Browse files
committed
README: Add some graphs to API example
1 parent ea041da commit 74977d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ fbp-diff also provides a JavaScript API.
5151
// toFormat: 'json', // parse toGraph .json format
5252
format: 'fbp' // specify toFormat and fromFormat in one go
5353
};
54-
var fromGraph = "";
55-
var toGraph = "";
54+
var fromGraph = "'hello' -> concat(Concatinator)\n'world' -> concat -> IN (Print)";
55+
var toGraph = "'hello' -> IN (Print)";
5656
var diff = fbpDiff.diff(fromGraph, toGraph, options);
5757
console.log(diff);
5858

0 commit comments

Comments
 (0)