[core] ibdawg: draw path taken by word in dawg