Skip to content

An edge being drawn looks awkward for non-normal edges #307

Description

@magjac

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

digraph {
    a
    b
}

JavaScript attributes

attributes = {
  dir: 'both',
  arrowhead: 'dot',
  arrowtail: 'diamond',
}

Graph during drawing the edge

Untitled Graph 12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions