change svg:line to path,add self-reference link