Convert selector graphs into adjacency lists
Add offending line with pointer to error messages