-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexamples.yaml
More file actions
39 lines (33 loc) · 2.09 KB
/
examples.yaml
File metadata and controls
39 lines (33 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
backend: "mermaid" # Options: mermaid, graphviz, plantuml, diagrams
generation:
count: 5
order: "medium" # Number of nodes: small(8-12), medium(12-16), large(16-20)
split_arrow: 1 # Number of split arrows
merge_arrow: 1 # Number of merge arrows
branch: 3 # Branch factor (number of outgoing edges per node)
nest: 1 # Number of nested subgraphs
density: 1.7 # Edge-to-node ratio
no_edge_label: 0 # Proportion of edges without labels (increases QA difficulty)
Disturbance:
handwritten_style: false # true/false: use handwritten-style font (increases parsing difficulty)
Scanned_style:
enable: false # Enable scanned-style effects
blur_radius: 1.0 # Blur radius in pixels (typical 0.8 ~ 2.0)
vignette: 0.3 # Vignette intensity 0~1, simulates corner shading
rotation: 1.5 # Maximum random rotation in degrees (typical 0~3)
perspective_distortion: true # Enable slight affine/perspective distortion
color_tint: "yellowish" # "gray" for grayscale, "yellowish" for warm tint
noise_level: 0.01 # Amount of scan noise (typical 0~0.1)
compression_level: 5 # Simulate compression (JPEG quality 0-100, lower=more blur)
graph:
# title and description can use placeholders replaced in main.py
title: "Auto Flowchart ({scale}) - #{count}"
description: "This flowchart has {num_nodes} nodes, split arrows: {split_arrow}, merge arrows: {merge_arrow}, branch: {branch}, nested: {nest}, density: {density}, no-label edge ratio: {no_edge_label_ratio}."
output:
path: "./output/{backend}/hard/{backend}.png" # Relative path template for output
render: true # true: render as image; false: only generate description file (.mmd, .puml, .dot)
# For diagrams, render=true/false behaves the same (always generates image).
# Has higher priority than Scanned_style
plantuml:
# Replace with your actual path to plantuml.jar
jar_path: "./tools/plantuml-1.2025.3.jar" # Example path for macOS/Linux