Adds 'graph' option

- Internally use fgl for dependency graph