improve visability graph LR %% Define Nodes AA[Attachment Anxiety] AV[Attachment…
- User
improve visability graph LR %% Define Nodes AA[Attachment Anxiety] AV[Attachment Avoidance] LEA[Lack of Emotional Awareness] NER[Non-Acceptance of Emotional Responses] CR[Cognitive Reappraisal] ERD[Emotion Regulation Difficulties] ED[ED Symptoms (Eating Disorders)] EA[EA Symptoms (Exercise Addiction)]
code%% Define Relationships AA --> LEA AA --> ERD AV --> NER AV --> ERD LEA --> ED NER --> EA CR -.-> ED CR -.-> EA ERD --> ED ERD --> EA %% Style Definitions classDef attachment fill:#FFDDC1,stroke:#333,stroke-width:2px; classDef selfregulation fill:#C1FFC1,stroke:#333,stroke-width:2px; classDef symptoms fill:#FFC1C1,stroke:#333,stroke-width:2px; classDef mediator fill:#C1C1FF,stroke:#333,stroke-width:2px; %% Assign Styles class AA,AV attachment; class LEA,NER,CR selfregulation; class ERD mediator; class ED,EA symptoms; %% Grouping and positioning subgraph Attachment Styles AA AV end subgraph Self-Regulation Dimensions LEA NER CR end subgraph Mediating Variable ERD end subgraph Symptoms ED EA end %% Layout AA --> LEA AA --> ERD AV --> NER AV --> ERD LEA --> ED NER --> EA CR -.-> ED CR -.-> EA ERD --> ED ERD --> EA Assistant
To improve the visibility and readability of your Mermaid graph, you can make a few adjustments such as using explicit positions for nodes, increasing node spacing, and adding labels to edges for clarity. Here's an improved version of your graph:
mermaid