Force Layout - faster final arrangement
In a previous block, I was not interesting in viewing the live arrangement of the Force Layout, because (even if it is beautifull and amazing) it takes some times to have the final arrangement.
Hence, this block (hummm … the last lines of the code of this block) explains :
- how you can use the D3’s Force Layout to compute the final arrangement,
- how you can omit the live arrangement, and display only the final arrangement
- having all these things in less time that it takes to write it