Here, we add a new `buildNodeWithBatchData` helper method that can be used to construct a `models.LightningNode` object using pre-fetched batch data. The existing `buildNode` method is then adjusted to use this new helper.
Here, we add a new `buildNodeWithBatchData` helper method that can be used to construct a `models.LightningNode` object using pre-fetched batch data. The existing `buildNode` method is then adjusted to use this new helper.