remove graph view element dependency