Redid line and anchor code; added edge color