Patent ID: 8255834

Claim:
A method comprising: receiving a set that includes three or more data elements, the set defining a path description where each element in the path description is related in a hierarchy, the set including an order where a first element in the set is at a highest level in the hierarchy and the last element in the set is at a lowest level in the hierarchy; receiving information describing a size of an area in which the set is to be displayed; determining, by a processing device, a display size of the set; comparing, by the processing device, the size of the area with the display size of the set; selecting a subset of at least two or more of the data elements based on a result obtained from the comparing and based on the order, the subset not including at least one of the first or the last data element in the set; determining, by the processing device, one or more display space sizes based on the information received, each of the one or more display space sizes corresponding to one of the one or more selected data elements; determining, by the processing device, a truncated portion for at least one of the selected data elements, the one or more portions fitting within a corresponding display space size, wherein determining a truncated portion for the selected data elements comprises, for each of the selected data elements, eliminating a predetermined non-zero percentage of a textual description of the selected data element where the predetermined non-zero percentage is less than 100%; and displaying the subset in the area including displaying the truncated portion for each of the selected data elements.