Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Lines on dcc.Graph with arrows #846

@felipeboffnunes

Description

@felipeboffnunes

I created a network 3d graph using one of the examples from the documentation. There is no current way of creating an arrow on the line element from dcc.Graph.
There is two workarounds, both either difficult or not as practical:
Create annotations instead of lines (The annotations don't really maintain a good aspect on the graph, not really suitable for the problem).
Create two extra lines for each line, representing the left and right parts of the arrow (completely difficult to do since you got to calculate for all lines two new lines).

If someone has a snippet which can create those two new lines from the original lines, I'm fine with it, but I really am not able to do it at the moment.

Arrows in the line element would be a really good feature, I have seen several forum questions about this.

This feature is really important for my work, and if I don't have it then I'll need to rework inside of dash with a new graph library, which would be awful since dcc.Graph does almost all the job perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions