Cleanup work in graphs.models: added check for consistency of where edge components live.