Some graph ideas

Change-Id: If389061876ba3aef840b728f748d67f9545dd4ef