How to graph fano's plane


I would like to know if it’s possible to graph a plano’s plane with julia and help to make it


In order for people to be able to help you, you need to tell us what a fano plane is and what you have tried so far.


Assuming it’s this, and all you need is a diagram:

using LightGraphs, GraphPlot
g = Graph(7)
edges = [(1,2), (1,3), (1,4), (2,3), (2,4), (2,5), (2, 6), (3,4), (3,5), (3,6), (3,7), (4,6), (4,7), (5,6), (6,7)]
for t in edges
    add_edge!(g, t[1], t[2])


This of course is not a true mathematical representation of Fano’s plane, but it results in a (more-or-less) correct 2-D visual representation. You might also be interested in the Heawood Graph, which Wolfram tells me is the point/line incidence graph on the Fano plane and can be created using LightGraphs.smallgraph(:heawood).


Thank you that’s what I was looking for !


Thank you I just answer I was looking for this kind of graphs

And sorry I forget to explain my wish.



OK, it would have been helpful if you had given the link to the Wikipedia page or a picture of the graph.


Yes, I didn’t think of it… But now I know what to do. In fact I
was desespearing of finding a way to do it … I was my last
atempt because I try with other language and go no positive answer

Sorry again and thanks all for your help