Which Algorythms for CitySkylines like road system

I want to experiment a little bit with roads, cars and traffic. the goal is to be able to build roads like in sim city or city skylines. And cars should move on them.

I am curious about the algorithms you use to achieve all of that. Is there a good resource out there which gets you started in that area.

I know about A* but how do you set up nodes in code. How do you move cars along the streets (edges of nodes) etc…

Grateful for any kind of hint in the right direction

Cities : Skylines uses a node based system.

There is an excellent article on Gamasutra here into the design of some of the game’s mechanics…