Stack operators for input graphs.