EPICS Controls Argonne National Laboratory

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: "ejanke at keck.hawaii.edu" <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: Fri, 27 Jun 2025 15:04:12 +0000

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

Attachment: snl_diagram.png
Description: snl_diagram.png


Replies:
Re: Generation of state diagram documentation from SNL Érico Nogueira Rolim via Tech-talk
Re: Generation of state diagram documentation from SNL Ed Janke via Tech-talk

Navigate by Date:
Prev: Re: Generation of state diagram documentation from SNL Rees Simon 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
Navigate by Thread:
Prev: Re: Generation of state diagram documentation from SNL Hao, Hao via Tech-talk
Next: Re: Generation of state diagram documentation from SNL Érico Nogueira Rolim 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
ANJ, 29 Jul 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·