try to clean and simplify graph view