Added graph interface