Commit Graph

8 Commits

Author SHA1 Message Date
Gabriel Pérez-Cerezo
65f145afaf Added option to add trains to a pre-generated map.
This should save lots of cpu time by removing the higly cpu-intensive
map generating steps.

Benchmark:
Generating map completely: 30.493s
Adding trains:              0.157s

This benchmark was obtained from the data of the Linuxworks server,
which has about 500k nodes and about 600 trains.
2019-02-22 22:56:11 +01:00
Gabriel Pérez-Cerezo
61fbbc5909 Draw trains
Trains get drawn now as small circles, the line number gets drawn next
to the train. Moving trains are green, stopped trains are orange.
2019-02-21 12:29:00 +01:00
orwell96
b6c5604dcf Fix tag duplication bug when track begins/ends beyond bounds 2018-12-19 22:52:05 +01:00
orwell96
09d2302909 Proceed one final node on eot, change color gradient over yellow 2018-12-19 22:41:04 +01:00
orwell96
97c4e91d3a Color lines according to depth, add bounds 2018-12-19 22:29:07 +01:00
orwell96
56d03692df Progress 2018-12-19 17:52:21 +01:00
orwell96
69245c49c5 Make path configurable 2018-12-19 17:25:02 +01:00
orwell96
2ff8f5fd46 Initial version 2018-12-19 17:16:13 +01:00