Fix the trail label button and add some style to it.
Add link types and update path.js to draw arrows and arcs for links.