Made buildgraph-view optional

No reason for this dependency to be mandatory.