Skip to content

Feature request: specify relative location for edgelabel along the edgelength #195

@hdavid16

Description

@hdavid16
Contributor

PR #186 allows placing edge labels on the middle of an edge, whether it be curved or straight. It would be nice to have a kwarg for gplot that will allow the user to specify the position in the range 0 to 1 for the relative location along the edge (e.g., 0.5 = midpoint, 0 = startpoint, 1 = endpoint). This can easily be done by changing the 0.5 to the parameter value in the section of gplot where the edgelabels are placed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @hdavid16

        Issue actions

          Feature request: specify relative location for edgelabel along the edgelength · Issue #195 · JuliaGraphs/GraphPlot.jl