Grid Graph Layout Method
a point for the center of the grid. The origin is the default.
the order in which to fill the grid, given in reverse priority. The default is 1,2,3 which fills the 3rd (z) axis first, then the 2nd (y) axis, then finally the x-axis. For two dimensions, the third value is ignored so the valid options are 1,2 (sweep up columns) and 2,1 (sweep across rows).
the width of the grid; 1.95 is the default.
The grid layout method evenly spaces the vertices of the graph along a grid in order starting in the corner in the negative direction, and filling in the positive direction on each axis in turn.
This layout method works in two or three dimensions and is best suited to very sparse graphs.
G≔Graph 1: an undirected unweighted graph with 4 vertices and 4 edge(s)
H≔Graph 2: an undirected unweighted graph with 20 vertices and 40 edge(s)
Download Help Document
What kind of issue would you like to report? (Optional)