added dependency line drawing