Graph handler