According to one embodiment, an information processing apparatus includes
a memory unit which stores attribute information which indicates a
characteristic quantity of each of components constituting a product, and
parent-child relationship information which indicates a parent-child
relationship between the components, a unit which calculates positions on
a tree diagram of nodes corresponding to the components, a unit which
calculates, for each of the components, a sum of the characteristic
quantity of the component and the characteristic quantities of all child
components belonging to the component, a unit which determines, for each
of the nodes, a mode of a branch line which is to connect the node to a
parent node thereof, based on the sum calculated for each of the
components, and a unit which creates the tree diagram based on the
calculated positions of the nodes and the determined mode of the branch
line corresponding to each node.