Add nodes with a `state` property