Currently CM uses https://github.com/puppetlabs/pe-console-middleware/blob/master/src/puppetlabs/pe_console_middleware/cm/graph.clj to construct the resources graph view for the UI. We should add an endpoint which constructs this view for them and can do it for at least 2 previous catalogs.