fix bugs: missing vertex when order the vertexes
add linear gradient color for arcs