added empty graph to create pipeline rest api - the right way