#123 use the correct icon for the endpoints on diagrams; based on the kinds of endpoint it is