Making graph drawing more easy and generic