Reverted most of file to versions in cf5d995.

i.e. undid the stuff that assigned ticks to nodes and edges.
Need to rewrite with ticks and edges having starts but no ends,
and with attributes having starts and endopens.