Skip to main content
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Source Link

The solution for the GridGraph herehere. You need to fix the VertexCoordinates before deletions.

G = SetProperty[G, VertexCoordinates -> GraphEmbedding[G]]; VertexDelete[G, deleteMe] 

The solution for the GridGraph here. You need to fix the VertexCoordinates before deletions.

G = SetProperty[G, VertexCoordinates -> GraphEmbedding[G]]; VertexDelete[G, deleteMe] 

The solution for the GridGraph here. You need to fix the VertexCoordinates before deletions.

G = SetProperty[G, VertexCoordinates -> GraphEmbedding[G]]; VertexDelete[G, deleteMe] 
Source Link
hhh
  • 2.7k
  • 2
  • 23
  • 31

The solution for the GridGraph here. You need to fix the VertexCoordinates before deletions.

G = SetProperty[G, VertexCoordinates -> GraphEmbedding[G]]; VertexDelete[G, deleteMe]