I am struggling with drawing the following diagram in Inkscape.
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.
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
- 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.
-
Do Path > Object to Path to convert to paths.
-
Using the Select by Nodes tool, select all the nodes, then hit the Break Path at Selected Nodes button.
- 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.
-
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.
-
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
-
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
- Select and Group all these objects.
- Ctrl+D to duplicate, click and drag to snap, repeat.
Attribution
Source : Link , Question Author : P Rakesh Kumar Dora , Answer Author : Billy Kerr