# How to put Frame or borders around subgraphs in single Graph?

Posted 1 month ago
238 Views
|
2 Replies
|
1 Total Likes
|
2 Replies
Sort By:
Posted 1 month ago
 I'm between meetings right now, but this one caught my eye. I think the answer lies in figuring out what the coordinates of each node. Then you should be able to draw a polygon around the set of nodes that you want.Check out GraphEmbedding[].If I get a chance, I'll try to work through this later this week.
Posted 1 month ago
 Thanks Mike, That's definitely a solution. I assigned the final graph above to "bigg" and reproduced the graph using GraphEmbedding[] coordinates: vList = VertexList[bigg]; vCount = Length[vList]; vCoords = GraphEmbedding[bigg]; labeledPoints = Table[Labeled[vCoords[[n]], vList[[n]]], {n, 1, vCount}]; ListPlot[labeledPoints] 
Community posts can be styled and formatted using the Markdown syntax.