A line between two objects

Hi, I’ve been working on a program that takes points in a map and finds the fastest route between two points.
I’ve placed all the points in the map, I’ve got a cvs file that have all the points and I’ve got a script that read all the points and connecting them with the gameobjects.
The routes that im searching is pre made routes based on the map, so I also got a cvs file with: from , to and other vars and a script that make a dictionary of the routes with the key point and the value is a list of points that show to which point one point got routes to.

Now lets get to the problem:
I want the program to generate lines between all the points that have routes to their destination and i searched all over the internet and I didn’t find nothing.

I’ve uploaded an example photo for the map, the triangles are the points and the blue and green lines between them are the routes, i want it to generate a line on every line/route in the map.

Im stuck on it for a week,
Hope you can help me,
Leshem

You may want to try the LineRenderer component. Slap that on a GameObject and edit its points. You may want different LineRenderers for logically distinct lines to color them differently.

But for that i will need to manually set the line renderer component on each of the points

You’d need to do that as part of this step for whatever way you visualize it:

You can spawn and edit those points via script to automate the process, so it doesn’t need to be manually. You just need to prep your points into such a format that the Line Renderers can be spawned to place them well.

is it possible to do it with gizmos?