Revert "Use the pedestrian-dag library (preliminary version)"

This reverts commit f70ffd279092e8dd4a9070262e1eae432ecd36aa.