This is how I save the nodes and edges of a sigma graph into a JSON file. The JSON file can be later re-imported with the sigma.parsers.json plugin.
<button id="export-btn">Save Graph On Server</button><br/>
# Connect to device using adb | |
adb connect <@IP> | |
# Start su shell (works out of the box - no need to root device) | |
adb shell | |
su | |
# We need to remount the system file-system in order to modify the start-up script | |
mount -o remount,rw /system |