webform_fields_chart
The Webform Fields Chart module generates Mermaid chart definitions from the fields in a Drupal webform, enabling the visualisation of dependencies and conditional relationships between webform elements.
Note: At present, the module does not render Mermaid charts directly within Drupal. It outputs Mermaid chart syntax, which can then be used in a separate Mermaid visualisation tool.
Features
Outputs Mermaid charts that include Webform pages, fields, conditions.
Post-Installation
1. Create a Webform:
- Navigate to Structure > Webforms and create a new webform.
2. Generate Chart:
- Go to the specific webform's page by clicking on it in the list.
- Click on the Chart tab to view the Mermaid chart definition based on the webform.
3. View Chart:
- Copy and paste the Mermaid chart definition into a Mermaid Charts visualizer, e.g.
(https://mermaid.live)
Additional Requirements
This module requires the following modules: