14.5.1.1.5 Applying the Alteration and Building a Graph or Snapshot

You must call alterationBuilder.build(), once the different vertex and edge providers have been added or removed in the alteration to actually apply the operation. By calling alterationBuilder.build(), a new graph is created and that graph contains all the providers of the base graph excluding the removed providers, and the additionally loaded providers.

You can also call alterationBuilder.buildNewSnapshot(), in which case, a new snapshot for the base graph is created and that snapshot contains all the providers of the base graph excluding the removed providers, and the additionally loaded providers.