Add stack graph