configurable edge weight and arrows at the end of the edge