Graph Toggle by Partition
Input an edge set and a partition line by line using brace notation. The app constructs the complete multipartite graph induced by the partition and toggles its edges. Each graph has its own draggable layout.
Write one edge per line using braces, e.g.
{1,2}. Leave blank for no edges.Write one block per line using braces, e.g.
{1,3}. Every vertex must appear exactly once.Original graph
Toggled graph
edge present
added by toggle
removed by toggle