statemachine icon indicating copy to clipboard operation
statemachine copied to clipboard

Cannot open Graphml file created in YEdStateMachineReportGeneratorTest

Open ChristopheI opened this issue 2 years ago • 2 comments

Hi, This library seems awesome !

I would like to use the Graphml diagram report but unfortunately it doesn't work for me. I can't open the graphml file created in YEdStateMachineReportGeneratorTest in Gephi (desktop version) or in Yed browser live version (https://www.yworks.com/yed-live/)

I just saved the result of "cleanedReport" variable in a file with graphml extension.

What I am doing wrong ?

Thx

ChristopheI avatar Jul 19 '22 13:07 ChristopheI

It’s probably a change in the way that Yed stores the graph in the graphml file that results in an incompatibility. So the solve this, the report generator needs probably to be updated. I guess that you could copy the yEd generator to your code and see if you can change it. But be aware that this is a cumbersome job because there is no documentation on how yEd stores the graph. I had to reverse engineer from a saved graph made with yEd.

ursenzler avatar Jul 19 '22 15:07 ursenzler

Thank you for your prompt answer.

Unfortunately I didn't have time for the moment to dig in yEd and graphml

ChristopheI avatar Jul 20 '22 06:07 ChristopheI