layer property
AnnotationRenderLayer
get
layer
The rendering layer for this annotation.
Determines whether the annotation is rendered behind nodes (AnnotationRenderLayer.background) or above nodes and connections (AnnotationRenderLayer.foreground).
Override in subclasses to specify the layer. Default is AnnotationRenderLayer.foreground. GroupAnnotation overrides this to return AnnotationRenderLayer.background.
Implementation
AnnotationRenderLayer get layer => AnnotationRenderLayer.foreground;