Sure! Here is a shot of everything in gridLayout time is less than 2 seconds.. as where with grid this takes more than 15 (I am running pharo on a linux VM so consider it extra slow.. but anyway..)graph1.png
El mié., 29 de jul. de 2015 a la(s) 6:23 p. m., Peter Uhnák <i.uhnak@gmail.com> escribió:
Can you send a screenshot?

It's hard to judge the complexity of RTForceBasedLayout since the implementation is quite complex, but I see at least one what looks like O(V^2) (RTForceBasedLayout>>accumulate: method)... and that's just for a single step.

So for 500 nodes that's 0.25M operations per step?
Google tells me that this can be as fast as O(V log(V)) so maybe this is worth looking into sometime. (And Natalia was most certainly talking about this at ESUG).

Peter

On Wed, Jul 29, 2015 at 10:21 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Of course it does. But, perhaps at least you can try circle layout.

Doru

On Wed, Jul 29, 2015 at 10:14 PM, Demian Schkolnik <demianschkolnik@gmail.com> wrote:
I am just using GridLayout. It works really fast.

El mié., 29 de jul. de 2015 a la(s) 5:05 p. m., Demian Schkolnik <demianschkolnik@gmail.com> escribió:
So, I tried with 10 iterations, and it gets stuck anyway. I counted the elements, and there are ~500 nodes and ~500 edges in my graph... Again, I do not need nothing fancy, with having just all elements NOT clustered together in the middle (like with no layout), I'm ok.. (well, tree layout does not work for me due to the fact that it lays out a row of 500 elements to the side- not bringing visibillity). Thanks again!

El mié., 29 de jul. de 2015 a la(s) 4:16 p. m., Demian Schkolnik <demianschkolnik@gmail.com> escribió:
Hello! i will try fewer iterations. I think I may have between 200 and 500 elements total.. I will try it out inmediately and let you know.

El mié., 29 de jul. de 2015 a la(s) 4:13 p. m., Alexandre Bergel <alexandre.bergel@me.com> escribió:
This is a hard problem that many in the graph theory have spent a lot of time on.
Reduce the amount of iterations maybe. This layout is useful when you do not have any apparent structure in your data. What is the structure of your data?

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Jul 29, 2015, at 3:53 PM, Demian Schkolnik <demianschkolnik@gmail.com> wrote:

Hi all! 
I want to make a visualization of a graph (nodes and edges), but applying ForceLayout to it takes forever, because the graph has too many elements. if I apply TreeLayout, for example, the view renders almost instantly. Is there some other Layout, similar to ForceLayout, but faster, for so many elements?
Thanks!
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev