Unlocking Graph Tech: The Power Of String Tree Optimization