Added example, support scaling of graph in naivetree