| CPC G06F 8/38 (2013.01) [G06F 8/20 (2013.01); G06F 8/36 (2013.01)] | 20 Claims |

|
1. A method comprising:
parsing, at a server, a design file including code for a user interface, wherein the code is readable by the server into a tree representation having nodes, wherein the nodes represent design elements of the user interface and includes one or more design properties, a unique identifier, and references to child elements of the design elements;
traversing, at the server, the tree representation and comparing the design elements of the tree representation to a set of factors to determine when the design elements meet a criteria to be a subcomponent for one or more components of the code of the design file;
adding, at the server, the design elements to a list of subcomponent candidates that meet at least one of the set of factors to be a subcomponent, and removing duplicate subcomponents from the list;
generating, at the server, a tree structure for the one or more components using the list of subcomponent candidates; and
naming, at the server, the one or more components of the tree structure with unique names for reusability.
|