Convert an rquery op diagram to a simple representation, appropriate for conversion to YAML.
Useful links