adding html part to circles and lines