Skip to content

Edgelabels attached to the wrong edges #192

@colbec

Description

@colbec

With Julia 1.8.3 Official release on openSUSE Leap 15.4 and Gnome:

With the following Julia code (uploaded as txt) I attempt to create a graph with 6 nodes and 4 edges. I assign random real values as weights to the edges. The adjacency matrix is created correctly but the attempt to use the edge weights as edge labels is only correct about 50% of the time. The weights are always correct, but as labels they are frequently attached to the wrong edges in the plot.

The last run produced the attached image and this output:

julia> thetest()
1, 5, 0.89
2, 5, 0.67
3, 4, 0.68
4, 5, 0.51

I believe this may be an issue, but also my coding may not be appropriate. I'm working on it.

edgetest.jl.txt
thetest

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