mma-server/src/main/resources/com/aliyun/odps/mma/server/ui/static/dag-viz.js
/* Render the RDD DAG visualization on the stage page. */
Render the RDD DAG visualization on the stage page.
Render the RDD DAG visualization on the stage page .
function renderDagVizForTask(svgContainer) {
  var metadata = metadataContainer().select(".task-metadata");
  var dot = metadata.select(".dot-file").text().trim();
  var containerId = VizConstants.graphPrefix + metadata.attr("task-id");
  var container = svgContainer.append("g").attr("id", containerId);
  renderDot(dot, container, false);
  svgContainer
  .selectAll("rect")
  .attr("rx", "5")
  .attr("ry", "5");
}
function renderDagVizForTask ( svgContainer ) { var metadata = metadataContainer ( ) . select ( ".task-metadata" ) ; var dot = metadata . select ( ".dot-file" ) . text ( ) . trim ( ) ; var containerId = VizConstants . graphPrefix + metadata . attr ( "task-id" ) ; var container = svgContainer . append ( "g" ) . attr ( "id" , containerId ) ; renderDot ( dot , container , false ) ; svgContainer . selectAll ( "rect" ) . attr ( "rx" , "5" ) . attr ( "ry" , "5" ) ; }
Render the RDD DAG visualization on the stage page.
Render the RDD DAG visualization on the stage page .
// Round corners on rectangles