code: @GET
      @Path("{guid}/outputs/graph")
      @Consumes(Servlets.JSON_MEDIA_TYPE)
      @Produces(Servlets.JSON_MEDIA_TYPE)
      public Response outputsGraph(@PathParam("guid") String guid) {
          if (LOG.isDebugEnabled()) {
              LOG.debug("==> LineageResource.outputsGraph({})", guid);
          }
  
          AtlasPerfTracer perf = null;
  
          try {
              if (AtlasPerfTracer.isPerfTraceEnabled(PERF_LOG)) {
                  perf = AtlasPerfTracer.getPerfTracer(PERF_LOG, "LineageResource.outputsGraph(" + guid + ")");
              }
  
              AtlasLineageInfo lineageInfo = atlasLineageService.getAtlasLineageInfo(guid, LineageDirection.OUTPUT, -1);
              final String result = LineageUtils.toLineageStruct(lineageInfo, typeRegistry);
  
              JSONObject response = new JSONObject();
              response.put(AtlasClient.REQUEST_ID, Servlets.getRequestId());
              response.put(AtlasClient.RESULTS, new JSONObject(result));
  
              return Response.ok(response).build();
          } catch (AtlasBaseException e) {
              LOG.error("Unable to get lineage outputs graph for entity guid={}", guid, e);
              throw new WebApplicationException(Servlets.getErrorResponse(e));
          } catch (WebApplicationException e) {
              LOG.error("Unable to get lineage outputs graph for entity guid={}", guid, e);
              throw e;
          } catch (JSONException e) {
              LOG.error("Unable to get lineage outputs graph for entity guid={}", guid, e);
              throw new WebApplicationException(Servlets.getErrorResponse(e, Response.Status.INTERNAL_SERVER_ERROR));
          } finally {
              AtlasPerfTracer.log(perf);
  
              if (LOG.isDebugEnabled()) {
                  LOG.debug("<== LineageResource.outputsGraph({})", guid);
              }
          }
      }
docs: Returns the outputs graph for a given entity id.
  
  @param guid dataset entity id