Unify API for graph renderer