Re: [Flashcoders] Algorithm for distributing labels along a timeline without overlapping

2009-01-19 Thread Dale Bradshaw
spring embedder layout might work. http://wwwteo.informatik.uni-rostock.de/~le/Lehre/SS04/GraphLayout/demo3.ht ml All, [Sorry if this is a repost... some email issues today...] Hope I can phrase this question clearly... I'm working on an application that will display a visual

[Flashcoders] Algorithm for distributing labels along a timeline without overlapping

2009-01-16 Thread matt stuehler
All, Hope I can phrase this question clearly... I'm working on an application that will display a visual timeline with a vertical orientation. At various points along the timeline, it will display key markers/milestones. Each one of these markers will have a label. The problem arises when

[Flashcoders] Algorithm for distributing labels along a timeline without overlapping

2009-01-16 Thread matt stuehler
All, [Sorry if this is a repost... some email issues today...] Hope I can phrase this question clearly... I'm working on an application that will display a visual timeline with a vertical orientation. At various points along the timeline, it will display key markers/milestones. Each one of

Re: [Flashcoders] Algorithm for distributing labels along a timeline without overlapping

2009-01-16 Thread Bob Wohl
Check the height vs. y pos of the first and evenly distribute. Something like 'total with in range' x 'height' and then iterate position via start y -= totalHeight/2. rough idea but some where to start. B. On Fri, Jan 16, 2009 at 1:17 PM, matt stuehler stuehler.t...@gmail.comwrote: All, Hope