1. A processor-implemented method of converting a Shockwave Flash (SWF) shape definition, stored in a memory associated with the processor, including a first plurality of directed edges having a first path style in common, into a first vector graphics path definition corresponding to the first path style, the method comprising: i) creating, at the processor, a first path style graph representation corresponding to the first path style, based on mapping the first plurality of directed edges of the SWF shape definition having the first path style in common to a first plurality of vertices and undirected edges, and generating and storing connectivity information relating to the first plurality of vertices and undirected edges such that each of the undirected edges is connected to two of the first plurality of vertices and such that each of the first plurality of vertices is connected to two of the undirected edges, the first path style graph representation including first path style information and a first graph representation; ii) creating, at the processor, a first vector graphics path by traversing undirected edges of a graph represented by the first graph representation and by removing an undirected edge, after the undirected edge has been traversed, from each edge set to which the traversed edge belongs; iii) creating, at the processor, the first vector graphics path definition including the first vector graphics path and the first path style information; and iv) rendering the first vector graphics path definition.
1. A processor-implemented method of converting a Shockwave Flash (SWF) shape definition, stored in a memory associated with the processor, including a first plurality of directed edges having a first path style in common, into a first vector graphics path definition corresponding to the first path style, the method comprising: i) creating, at the processor, a first path style graph representation corresponding to the first path style, based on mapping the first plurality of directed edges of the SWF shape definition having the first path style in common to a first plurality of vertices and undirected edges, and generating and storing connectivity information relating to the first plurality of vertices and undirected edges such that each of the undirected edges is connected to two of the first plurality of vertices and such that each of the first plurality of vertices is connected to two of the undirected edges, the first path style graph representation including first path style information and a first graph representation; ii) creating, at the processor, a first vector graphics path by traversing undirected edges of a graph represented by the first graph representation and by removing an undirected edge, after the undirected edge has been traversed, from each edge set to which the traversed edge belongs; iii) creating, at the processor, the first vector graphics path definition including the first vector graphics path and the first path style information; and iv) rendering the first vector graphics path definition. 5. The processor-implemented method of claim 1 wherein generating and storing connectivity information relating to the first plurality of vertices and undirected edges comprises: converting a directed-edge record of the SWF shape definition to a first vertex, a second vertex, and an undirected edge in the first path style graph representation, the undirected edge connecting the first and second vertices, and one of the first vertex and the second vertex being created based on a current position prior to conversion of the directed edge record; adding the undirected edge to a first edge set identifying those undirected edges connected to the first vertex; and adding the undirected edge to a second edge set identifying those undirected edges connected to the second vertex.