Reference 〉 Function

AgentsPlot.rotateLayout()

Rotates the layout of the plot among the several NetworkX layout classes ('spring', 'circular', 'kamada_kawai', 'random', 'shell', 'spectral', and 'spiral') if a network corresponding to AgentsPlot.network exists, plus 'spatial' if model.patches exists, and 'scatter' if AgentsPlot.scatter exists. This function is called when pressing ‘l’ with the mouse over the plot. See the NetworkX documentation for details on each of these.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.

History