Source: factory.core/extend.visual/ObjWorkflowVisual.py
| Method | Signature | Description |
|---|---|---|
| get_piper_theme | get_piper_theme(palette: dict | None = None) -> str |
Get ProcessPiper theme via ObjPalette. |
| mermaid_to_png | mermaid_to_png(input_file: str, output_file: str = '') -> str |
Render a .mmd file to PNG using mmdc. |
| parse_transitions | parse_transitions(workflow_code: str, transitions: StringList) -> StringList |
|
| get_three_words | get_three_words(workflow_code: str) -> str |
|
| get_mermaid_file_name | get_mermaid_file_name(workflow_code, guid = '') |
|
| get_image_file_name | get_image_file_name(workflow_code, guid = '') |
|
| get_piper_image_file_name | get_piper_image_file_name(workflow_code, guid = '') |
|
| get_piper_file_name | get_piper_file_name(workflow_code) |
|
| visualise | visualise(workflow_code: str, guid: str = '', transitions: StringList = [], package: str = '') -> str |
|
| visualise_piper | visualise_piper(workflow_code: str) -> str |
|
| visualise_all | visualise_all(arg = '') |
|
| render_context_resultset | render_context_resultset(run_context: JsonDict) -> None |
Render workflow context result set for debugging and visualization. |
| export_to_piper | export_to_piper(webhook_code: str) -> None |
Export workflow definition to Piper format for visualization. |