Diff
Compare two Graph files and show the semantic differences between them.
The diff command compares two Graph files and displays the semantic differences between them. This command is integrated with Git's difftool mechanism to provide a clear, human-readable comparison of Graph files.
The diff command is used internally by Git Graph and is not intended to be used directly by users.
Usage
Description
Run the diff command by providing paths to the local and remote Graph files. The command compares the files and outputs a summary of modifications, including changes to nodes and edges. This makes it easier to understand differences in Graph data structures, such as property changes or label modifications, in a semantic context.
Note that the output is formatted to highlight key changes, such as modified nodes and edges along with added or removed properties and labels.
Arguments
-
localThe path to the local Graph file.
-
remoteThe path to the remote Graph file.
Options
-
-h, --helpDisplay help for the command.
Examples
Diff local files
Compare two Graph files and display the differences:
This example shows that the node with key node_101 has had its country property changed, and the edge edge_101_103_directed has a label modification where "loves" was added and "likes" was removed.
Help
How is this guide?