a distributed train graph system