Check out the Vexflow site. It can do what you want, except that it's not as easy as Neck Diagrams. In fact, it's rather fiddly at first, but if you've done some programming you'll catch on pretty...