added separate tracking of stale types to graphs