hello people of Stack overflow, i would like to know if there is a way to show a graph in Swing GUI preferably with no dependencies on external libraries , by graphs i mean edges and vertices
a sample graph would look like this
{origin Vertex ,destination Vertex , name of edge}
{0, 1, "a"},
{1, 0, "b"},
{0, 2, "a,1,0"},
{1, 2, "b,1,0"},
the output should look something like this (excuse my mspaint skills)
thanks for your time everyone.