svg width=960 height=600><g/></svg>

<section>
<p>A sample that shows the different arrows available in dagre-d3.
</section>

<script id="js">
// Create a new directed graph
var g = new dagreD3.graphlib.Graph().setGraph({});

["normal", "vee", "undirected"].forEach(function(arrowhead) {
  g.setNode(arrowhead + "1", { label: " " });
  g.setNode(arrowhead + "2", { label: " " });
  g.setEdge(arrowhead + "1", arrowhead + "2", {
    arrowhead: arrowhead,
    label: arrowhead
  });
});

var svg = d3.select("svg")