appccelerate / statemachine

A .net library that lets you build state machines (hierarchical, async with fluent definition syntax and reporting capabilities).
Apache License 2.0
496 stars 129 forks source link

Cannot open Graphml file created in YEdStateMachineReportGeneratorTest #82

Open ChristopheI opened 2 years ago

ChristopheI commented 2 years ago

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

ursenzler commented 2 years ago

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.

ChristopheI commented 2 years ago

Thank you for your prompt answer.

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