forced direct graph describing pathways with different shapes