prettifying IO graph definition