0

For a production planning software I need a specificly structured Excel input. Therefore, I was looking for a way to make it easy for non-tech people to generate such an input. To achieve that, I thought it might be easiest for users to draw their production network as graph and I could use the resulting graphml output to derive the necessary information and transform them to the format needed.

When looking for an appropriate and easy software I found yEd. To start with I generated a very simple network with 2 sites and 1 part being transfered and exported the graphml. When I try to read the graphml in R using igraph or casualeffect package the names are lost and I get a lot of warnings. For igraph the plot also looks incomplete.

What am I doing wrong? Should I use a different software or package? Any recommendations?

I hope my description is sufficient (that is my first post on stackoverflow)

Thank you a lot.

### 1st try
library(igraph)
net1<-read.graph("Graph test.graphml", format = "graphml")
plot(net1)
### 2nd try
library(causaleffect)
net2 <- parse.graphml("Graph test.graphml", use.names = TRUE)
plot(net2)

Link for Graph Test on yEd

Link for graphml file

Anne
  • 1
  • 1
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Dec 17 '21 at 16:00
  • Hi, I'm trying to extract nodes and edges from the graphml file without losing their names. – Anne Dec 30 '21 at 10:31

0 Answers0