added matrix block graph