drawLayers

abstract fun <T, P : Position2D<P>?> drawLayers(    toDraw: Collection<Layer<T, P>>,     environment: Environment<T, P>,     graphics: Graphics2D,     wormhole: Wormhole2D<P>)

Effectively draw the layers.

Parameters

toDraw

- the layers to draw

environment

- the environment (mainly used to create positions)

graphics

- the graphics2D

wormhole

- the wormhole

<T>

- node concentration type

<P>

- position type