EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: RE: Generation of state diagram documentation from SNL
From: DESMARCHELIER Gabriel via Tech-talk <tech-talk at aps.anl.gov>
To: Ed Janke <ejanke at keck.hawaii.edu>, "simon.rees at psi.ch" <simon.rees at psi.ch>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 7 Jul 2025 14:20:18 +0000

Hello,

I've made this project available on github : https://github.com/gabriel-desmarchelier/plasma

Let me know if you manage to use it, and to what extent. No doubt it could be improved a lot.

Best,

Gabriel


De : Ed Janke <ejanke at keck.hawaii.edu>
Envoyé : vendredi 27 juin 2025 19:54:27
À : DESMARCHELIER Gabriel; simon.rees at psi.ch
Cc : tech-talk at aps.anl.gov
Objet : Re: Generation of state diagram documentation from SNL
 

Hi Gabriel,

 

Thanks for the reply – I’m very interested!

 

The file you attached like the output I would be looking for.

 

 

Thanks again for reaching out,

Ed J

 

From: DESMARCHELIER Gabriel <Gabriel.DESMARCHELIER at cea.fr>
Date: Friday, June 27, 2025 at 5:04
AM
To: Ed Janke <ejanke at keck.hawaii.edu>, simon.rees at psi.ch <simon.rees at psi.ch>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Generation of state diagram documentation from SNL

You don't often get email from gabriel.desmarchelier at cea.fr. Learn why this is important

Hello,

On our side, we've developed a script that uses tree-sitter-epics (
https://github.com/epics-extensions/tree-sitter-epics) to parse the SNL and build a Mermaid diagram from it.

It's not very UML-compliant but it has a convenient option that allows the diagram to include all statements found in state entries and transitions. I've attached an example.

Let me know if you are interested, since it's not publicly available at the moment.

Best regards,

Gabriel


References:
Re: Generation of state diagram documentation from SNL DESMARCHELIER Gabriel via Tech-talk
Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk

Navigate by Date:
Prev: Re: Can Archiver Appliance Store 50Hz Waveform Data? Ralph Lange via Tech-talk
Next: Re: Re: Can Archiver Appliance Store 50Hz Waveform Data? Ralph Lange via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk
Next: Re: using PI C-863 Mercury motor controller with linux Dariush Hampai via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  <2025