How MassAi built in Runtime?

While I am a newer to the MassAi. I want to know, if there is a way to build zoneGraph in Runtime.
I want to adjust the zoneGraph to control the road direction. I found the information on the Internet, most of them are built at Editor Mode.