new graph interface