Coordinates for nodes in LightGraphs.jl

plotting

#1

I am reading in an XML file to create a graph using LightGraphs package. I later intend to save the graph using TikzGraphs package. I would however want to know if there is a possibility to include additional node attributes in the graph. I’m mainly interested in naming the nodes and assigning them their coordinates. But, I’m not sure if LightGraphs enables us to add more attributes to the nodes. Could you please let me know how to use the coordinate values of the nodes to construct a graph?


#2

You might want to review https://github.com/JuliaPlots/PlotRecipes.jl, which (I think) has a recipe for LightGraphs.