Feature #14454
closed
In current Arvados API there is a generate_provenance method in container_request_container.rb. It ends with
@svg = ProvenanceHelper::create_provenance_graph(
nodes, "provenance_svg",
{
:request => request,
:direction => :top_down,
:output_collections => output_cols,
:input_collections => input_cols,
:cr_children_of => {
cr[:uuid] => child_crs.select{|child| child[:uuid]},
},
})
I would like the get the internal data generated by ProvenanceHelper::create_provenance_graph to be exposed as json object via /container_request/provenance/{uuid} endpoint for example. Currently that method produces svg string. But instead doing that its second version should build nodes and edges only as a raw data. That would allow to convert that data into any graph on the client side.
- Subject changed from Provenance graph DAG endpoint to [Backend] Provenance graph DAG endpoint
- Status changed from New to Rejected
The (undocumented) collections provenance method returns this data in a form that could be used by a graph rendering library.
Also available in: Atom
PDF