remove graph outer boundary