Help on "Signal Transmission in a Neuron" Effect


This is my neuron and I need to change its color, beginning from the green box on the center line, moving in both directions but when it comes go the central part with branches, the effect should move towards all tips.

Enabling Soft Selection in Edit Modifiers, with Edge Distance option and Increasing the Falloff is actually what I’m looking for. If only I could change Vertex Colors or some color according to the vertex selection. (Or face Selection)
Want to use the selection as a mask.