Open clbarnes opened 7 years ago
As of #1649, a few different markers are defined with javascript: discs/spots, rings (unused), rings with crosshairs. A bunch of code assumes that the marker is a circle. There is an AbstractNode.markerType
variable which controls which texture is created and cached on initTexture
, which is then used whenever a node is drawn: if we were to have multiple options, we'd just need to cache one for each connector subtype and make sure the right one was picked up by the instances.
This fell out of #1512, the major part of which was resolved in #1649.
Currently, all connector nodes are rendered with the same texture: it would be nice to show different textures based on the node's subtype (synapse, abbutting, gapjunction etc.). It might be nicer still for these textures to be customisable by the user or project administrator.