xy = Transpose[{xcord, ycord}]; SeedRandom[1]; ew = Round[ RandomReal[1, Length@edges], .01]; wam = SparseArray[Thread[edges -> ew], {12, 12}, Infinity]; WeightedAdjacencyGraph[wam, VertexCoordinates -> xy, PlotTheme -> "IndexLabeled", EdgeLabels -> "EdgeWeight", ImageSize -> Large, EdgeShapeFunction -> "CurvedEdge"] Update: Add the option
VertexStyle -> Directive[EdgeForm[{Thick, Blue}], LightBlue] to color the vertices, and the option
EdgeStyle -> Thread[(DirectedEdge @@@ edges) -> Thread[{Thick, Arrowheads[{-Large, Large}], ColorData["Rainbow"] /@ ew}]] to style edges and add arrow heads at both ends of edges
To render the edges without arrow heads, removeeither (1) use Arrowheads[{EdgeShapeFunction -Large,> Large}] from Directive[...]"CurvedArc" and eitheror (2) add the option DirectedEdges -> False or useand replace EdgeShapeFunction(DirectedEdge @@@ edges) with (UndirectedEdge @@@ edges) in EdgeStyle -> "CurvedArc"...:


