Component edition

* direction
* perimeter