Examples using graph