source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python"># This code was copied and mofified from https://igraph.readthedocs.io/en/stable/

from igraph.configuration import Configuration
from warnings import warn
from igraph.drawing.colors import Palette, palettes
from igraph._igraph import convex_hull, VertexSeq
from igraph.drawing.baseclasses import AbstractGraphDrawer
from igraph.drawing.utils import Point

from igraph.drawing.matplotlib.edge import MatplotlibEdgeDrawer
fro