Create a curve line

Can any one help me to draw a line using given path. currently line is shows like this:

I need to create a line along with the spheres.

Here is pg example

Drawing Curves | Babylon.js Documentation (

If you need a lot of thin lines…

Babylon.js Playground (