Skip to content

linetype="curve" option not working #6

@juliohm

Description

@juliohm
using LightGraphs
using GraphPlot

G = DiGraph(2)
add_edge!(G, 1,2)
add_edge!(G, 2,1)

display(gplot(G, linetype="curve"))

LoadError: MethodError: convert has no method matching convert(::Type{Measures.Measure}, ::Float64)
This may have arisen from a call to the constructor Measures.Measure(...),
since type constructors fall back to convert methods.
Closest candidates are:
call{T}(::Type{T}, ::Any)
convert{T}(::Type{T}, !Matched::T)
while loading In[50], in expression starting on line 8

in call at /home/julio/.julia/v0.5/Compose/src/form.jl:894
in parsepathop at /home/julio/.julia/v0.5/Compose/src/form.jl:901
in parsepath at /home/julio/.julia/v0.5/Compose/src/form.jl:1098
in path at /home/julio/.julia/v0.5/Compose/src/form.jl:1125
in gplot#7 at /home/julio/.julia/v0.5/GraphPlot/src/plot.jl:191
in gplot at /home/julio/.julia/v0.5/GraphPlot/src/plot.jl:217
[inlined code] from essentials.jl:114

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