JuliaTeX / TikzGraphs.jl

This library generates graph layouts using the TikZ graph layout package.
Other
77 stars 18 forks source link

Non-unique labels #5

Closed tawheeler closed 8 years ago

tawheeler commented 8 years ago

Non-unique labels no not result in the correct graph:

g = DiGraph(3)
add_edge!(g, 1, 2)
add_edge!(g, 1, 3)
TikzGraphs.plot(g, ["+", "a", "a"])

This can certainly be bypassed with pure Tikz; not sure whether the graphs package would support something like this. We could throw a warning if it cannot be solved.

mykelk commented 8 years ago

Ah, this should be easy to fix.