generate user-friendly datapath graph according to xml descrition