to Graph QLLayer Surrogate
fun <T, P : Position<out P>> Layer<T, P>.toGraphQLLayerSurrogate(posMapping: (List<Number>) -> P): LayerSurrogate<T, P>
Converts a it.unibo.alchemist.model.Layer to a LayerSurrogate.
Return
a LayerSurrogate for this it.unibo.alchemist.model.Layer
Parameters
pos Mapping
the position mapping function.