resulting graph