Tom Breloff

Results 158 comments of Tom Breloff

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.437.3177&rep=rep1&type=pdf

http://ac.els-cdn.com/S0925772105000313/1-s2.0-S0925772105000313-main.pdf?_tid=d2da40a0-4396-11e6-a5b9-00000aacb360&acdnat=1467822754_24f87632c06119b159157d66890ddd7a

See section 2.3 of http://link.springer.com/chapter/10.1007%2F978-3-540-31843-9_25#page-1

This is roughly the "section 2.3" algorithm: ``` julia using PlotRecipes; pyplot(size=(300,300)) n = 40 s, d = Plots.unzip(unique([(rand(1:n),rand(1:n)) for i=1:60])) s = convert(Vector{Int}, s) d = convert(Vector{Int}, d) w...

Progress with trees: ``` julia using PlotRecipes; gr(size=(500,500)) s = [1,2,2,3,3,2,5,4,7] d = [2,3,4,5,6,7,6,5,4] w = ones(length(s)) n = max(maximum(s), maximum(d)) graphplot(s,d,w,func=:tree,series_annotations=map(string,1:n),root=:top) ``` ![tmp](https://cloud.githubusercontent.com/assets/933338/16701854/93422160-4530-11e6-8118-11bbccb39a23.png)

I think there might be a fontsize keyword? This recipe needs love and documentation. If you have the time it would be awesome if you could help out. On Wed,...

Weird. If I do: ```julia using PlotRecipes, LightGraphs g = LightGraphs.StarGraph(10) graphplot(g, marker=:circle, markersize=2, fontsize=16, names=1:10, method=:tree) ``` I see: ![tmp](https://cloud.githubusercontent.com/assets/933338/23266130/cfbd02ca-f9b4-11e6-9d1e-edc61c1d2af1.png) Notice this is with `markersize=2`, which means basically "make...

Maybe the marker sizing only works on GR? Note that when you add names, you are using "series annotations", not markers. Using markersize is just trickery.

I fully admit that the graphplot recipe is hacky in places. :(

> Plots.jl has this as a dependency No it doesn't