Drawing a hexagon in Inkscape

I am struggling with drawing the following diagram in Inkscape.

Enter image description here

I can insert math symbols in it, but I don’t know how to reproduce the above shown hexagons. Below I have shown a diagram I tried.

Enter image description here

In my figure, nodes of each line get connected to nodes of each circle. So it seems odd. How can I draw the first shown hexagonal lattice diagram?

Answer

  1. Draw a 6-sided polygon (a hexagon) with the Star and Polygon tool. Hold down Ctrl as you click and drag to constrain the angle.

enter image description here

  1. Do Path > Object to Path to convert to paths.

  2. Using the Select by Nodes tool, select all the nodes, then hit the Break Path at Selected Nodes button.

enter image description here

  1. Do Path > Break apart. This will release all the paths to individual objects. You can now select and recolour each stroke individually, and increase the stroke widths in the Fill and Stroke panel.

enter image description here

  1. Draw a small circle with the Ellipse tool, holding down Ctrl as you click and drag to constrain proportions. Set a black stroke, and white fill.

  2. In the Snap Controls bar, enable Snapping, Snapping to nodes, Snapping to cusp nodes, Snapping to miscellaneous points, and Snapping to object rotation centres. All the snapping options to enable are shown here

  3. Click and drag the circle so that it snaps the nodes to the centre of the circle. Press Ctrl+D to duplicate the circle, move and repeat until you have added all the circles

enter image description here

  1. Select and Group all these objects.

enter image description here

  1. Ctrl+D to duplicate, click and drag to snap, repeat.

enter image description here

Attribution
Source : Link , Question Author : P Rakesh Kumar Dora , Answer Author : Billy Kerr

Leave a Comment