Add linear graph generation