Reference 〉 Hook

patchClick( Patch patch, NetworkPlot plot, int t )

Receives the patch clicked when the NetworkPlot plot is clicked in the patchgrid layout.

Required Parameters

  • patch Patch

    The patch that was clicked.

  • plot NetworkPlot

    The NetworkPlot object that was clicked on.

  • t int

    The time currently displayed on the time slider. This may not match the current model time if the time slider has been scrubbed backward.

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.