frame work for vector editor