tgdwyer / WebCola

Javascript constraint-based graph layout
http://marvl.infotech.monash.edu/webcola/
MIT License
2.02k stars 258 forks source link

Using more than one group with alignment causes 100% CPU usage. #4

Closed drewkhoury closed 10 years ago

drewkhoury commented 10 years ago

I tried taking your alignment example http://marvl.infotech.monash.edu/webcola/examples/alignment.html and adding grouping http://marvl.infotech.monash.edu/webcola/examples/smallgroups.html but this causes 100% CPI using when using more than one group.

tgdwyer commented 10 years ago

Can you show me your precise code please? This should be possible, in fact this example uses both alignments and groups: http://marvl.infotech.monash.edu/webcola/examples/sucrosebreakdown.html

Dr Tim Dwyer BSc BCS(Hons) PhD Senior Lecturer and Larkins Fellow Caulfield School of Information Technology Mobile: 0481 240 767 (from overseas: +61 481 240 767)

From: Drew Khoury Sent: ‎Friday‎, ‎17‎ ‎January‎ ‎2014 ‎10‎:‎43‎ ‎AM To: tgdwyer/WebCola

I tried taking your alignment example http://marvl.infotech.monash.edu/webcola/examples/alignment.html and adding grouping http://marvl.infotech.monash.edu/webcola/examples/smallgroups.html but this causes 100% CPI using when using more than one group.

— Reply to this email directly or view it on GitHub.

tgdwyer commented 10 years ago

I believe you saw this, but without specific repro steps it's impossible to say whether it's a usage error or an underlying bug. Please log another issue if you can consistently repro. A jsfiddle is ideal! Thanks!