The implementation assumes an edge with dir=forward, arrowhead=normal (explicit or implicit as for directed graphs) and arrowtail=none. If this is not the case, the edge shown during drawing with drawEdge and updateDrawnEdge might look awkward.
Once inserted with insertDrawnEdge the edge will have the specified attributes and look as specified.
Example
DOT source
JavaScript attributes
attributes = {
dir: 'both',
arrowhead: 'dot',
arrowtail: 'diamond',
}
Graph during drawing the edge

The implementation assumes an edge with
dir=forward,arrowhead=normal(explicit or implicit as for directed graphs) andarrowtail=none. If this is not the case, the edge shown during drawing with drawEdge and updateDrawnEdge might look awkward.Once inserted with insertDrawnEdge the edge will have the specified attributes and look as specified.
Example
DOT source
digraph { a b }JavaScript attributes
Graph during drawing the edge