Nodes, endpoints, connectors

Split endpoints to source and target, added arrow overlay, changed
colors, fixed deletion of a node.