draw links as svg