arcIsaProcessMermaid 1.1.0

dotnet tool install --global arcIsaProcessMermaid --version 1.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local arcIsaProcessMermaid --version 1.1.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=arcIsaProcessMermaid&version=1.1.0
                    
nuke :add-package arcIsaProcessMermaid --version 1.1.0
                    

arcIsaProcessMermaid

Tool to generate a minimal markdown containing a mermaid graph that displays an ARC's connections of ISA processes from ARC investigation through studies and assays

💡 This tool is not meant as a long-term solution, but a quickfix and to illustrate what could readily and automatically be read from an ARC using the ARCtrl library.

Installation

The tool ist released via nuget.

  1. Install .NET v10.0 or v9.0
  2. Run dotnet tool install --global arcIsaProcessMermaid

Usage

Open a command line or terminal and run arcIsaProcessMermaid -p local/path/to/ARC.

USAGE: arcIsaProcessMermaid [--help] [--arcpath <path>] [--outpath <path>] [--outputmmd]

OPTIONS:

    --arcpath, -p <path>  specify path to an ARC
    --outpath, -o <path>  specify a file path and name to write results to (Default: `<path/to/ARC/arc-mermaid>.md or .mmd`)
    --outputmmd, -mmd     whether to output a .mmd file instead of markdown
    --samplenumbers, -sn  whether to add the number of samples between processes to edges
    --flowdirection, -fd  specify the direction of the flowchart: `topDown` (Default) or `leftRight`
    --version, -v         show tool version
    --help                display this list of options.

Rationale

Sure, mermaid graphs are not the tool of choice to display the overall complexity of ARCs. And they are far from anything dynamic or interactive.

However, mermaids in markdown

  • are quick and can easily be adapted
  • are static and should not break too easily (especially with type-safe F# library Siren)
  • can readily be displayed in GitLab (i.e. DataHUB) or VSCode (with extensions)

To display the resulting mermaid graph, preview the file in VS Code with extensions installed:

Alternatively, copy/paste it to Mermaid Live Editor.

Idea

Based on discussions before and during the ARC-Process-GraphViz project at ARC symposium 2024.

Development

Tests

Run

dotnet test

or

dotnet run --framework net10.0 --project ./tests/Tests.fsproj dotnet run --framework net9.0 --project ./tests/Tests.fsproj

Watch

dotnet watch run --framework net9.0 --project ./tests/Tests.fsproj

dotnet watch has a issue on v9.0.1x that prevents it from running correctly: https://github.com/dotnet/sdk/issues/44908

Using the package in scripts

The core functions can directly be used in .NET, e.g. in an F#-script:

#r "nuget: arcIsaProcessMermaid.Core, 1.0.1-alpha.1"

open ArcIsaProcessMermaid.Core
open ARCtrl

let arcPath = <path/to/ARC>

let arc = ARC.load(arcPath)

ArcSiren.createArcProcessMermaid Siren.Direction.TD arc
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.1.0 39 5/20/2026
1.1.0-alpha.1 32 5/20/2026
1.0.10-alpha.3 265 9/25/2025
1.0.10-alpha.2 164 9/25/2025
1.0.10-alpha.1 166 9/25/2025
1.0.9 337 9/24/2025
1.0.8 233 7/17/2025
1.0.7 211 7/17/2025
1.0.6 225 7/16/2025
1.0.5 220 2/5/2025
1.0.4 196 1/31/2025
1.0.3 188 1/31/2025
1.0.2 192 1/30/2025
1.0.1 176 1/30/2025
1.0.1-alpha 151 1/30/2025
1.0.0 183 1/30/2025