As pictured below, my code doesn’t seem to draw planar embedding, as supposed to. What might be wrong here?
code:
gra1 = IGShorthand["1-2-3-4-5-6-1-7-8-1-9-10-11-12-13-11-14-15-4-16-17-4-18-19-11-20-21-1"]
emb1 = <|1 -> {7,8,2,6,9,21}, 4->{17,16,3,18,15,5}, 11->{14,19,12,13,20,10},2->{1,3}, 3->{2,4}, 5->{4,6},
6->{5,1},7->{8,1},8->{7,1}, 9->{1,10},10->{9,11},12->{11,13},13->{11,12},14->{11,15},15->{14,4},16->{4,17}, 17->{16,4},18->{4,19},19->{18,11},20->{11,21},21->{20,1}|>
gra11=Graph[gra1, VertexCoordinates -> IGEmbeddingToCoordinates[emb1], ImageSize->800]