reorganized graph interface