Show[
GraphPlot[GraphData["DodecahedralGraph", "EdgeRules"],
EdgeRenderingFunction -> (Function[{e, v},
Inset[Graphics[Rectangle[{0, 0}, {10, 1}]], e[[1]], {0, 0},
EuclideanDistance[e[[1]], e[[2]]], e[[2]] - e[[1]]]]),
VertexCoordinateRules ->
MapIndexed[First[#2] -> #1 &,
GraphData["DodecahedralGraph", "VertexCoordinates"]]],
Method -> {"ShrinkWrap" -> #}
] & /@ {False, True}