implemented polygon graphic creation tool