use of guru.nidi.graphviz.attribute.Shape in project oozie by apache.
the class GraphvizRenderer method addNode.
@Override
public void addNode(final WorkflowActionNode node) {
final Shape shape = getShape(node.getType());
final Color color = getColor(node.getStatus());
final Node graphvizNode = Factory.node(node.getName()).with(shape).with(color);
graphvizNodes.put(node.getName(), graphvizNode);
}