Added enum for arrow direction
updated formular drawer