Add size hint and policy to GraphContainer