add arrowhead_scaling test

This commit is contained in:
Gavin Nishizawa 2023-03-29 19:33:07 -07:00
parent 273f5d308f
commit b9fd6231e3
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD
6 changed files with 18002 additions and 0 deletions

View file

@ -2464,6 +2464,7 @@ scenarios: {
} }
}`, }`,
}, },
loadFromFile(t, "arrowhead_scaling"),
} }
runa(t, tcs) runa(t, tcs)

View file

@ -0,0 +1,340 @@
default: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
}
}
line: {
start: ""
end: ""
start.1 -- end.1: 1 {
style.stroke-width: 1
}
start.2 -- end.2: 2 {
style.stroke-width: 2
}
start.4 -- end.4: 4 {
style.stroke-width: 4
}
start.8 -- end.8: 8 {
style.stroke-width: 8
}
start.15 -- end.15: 15 {
style.stroke-width: 15
}
}
arrow: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: arrow
target-arrowhead.shape: arrow
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: arrow
target-arrowhead.shape: arrow
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: arrow
target-arrowhead.shape: arrow
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: arrow
target-arrowhead.shape: arrow
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: arrow
target-arrowhead.shape: arrow
}
}
diamond: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
}
}
filled diamond: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
}
circle: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: circle
target-arrowhead.shape: circle
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: circle
target-arrowhead.shape: circle
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: circle
target-arrowhead.shape: circle
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: circle
target-arrowhead.shape: circle
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: circle
target-arrowhead.shape: circle
}
}
filled circle: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: circle
target-arrowhead.shape: circle
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: circle
target-arrowhead.shape: circle
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: circle
target-arrowhead.shape: circle
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: circle
target-arrowhead.shape: circle
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: circle
target-arrowhead.shape: circle
source-arrowhead.style.filled: true
target-arrowhead.style.filled: true
}
}
cf one: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: cf-one
target-arrowhead.shape: cf-one
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: cf-one
target-arrowhead.shape: cf-one
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: cf-one
target-arrowhead.shape: cf-one
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: cf-one
target-arrowhead.shape: cf-one
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: cf-one
target-arrowhead.shape: cf-one
}
}
cf one required: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: cf-one-required
target-arrowhead.shape: cf-one-required
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: cf-one-required
target-arrowhead.shape: cf-one-required
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: cf-one-required
target-arrowhead.shape: cf-one-required
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: cf-one-required
target-arrowhead.shape: cf-one-required
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: cf-one-required
target-arrowhead.shape: cf-one-required
}
}
cf many: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: cf-many
target-arrowhead.shape: cf-many
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: cf-many
target-arrowhead.shape: cf-many
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: cf-many
target-arrowhead.shape: cf-many
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: cf-many
target-arrowhead.shape: cf-many
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: cf-many
target-arrowhead.shape: cf-many
}
}
cf many required: {
start: ""
end: ""
start.1 <-> end.1: 1 {
style.stroke-width: 1
source-arrowhead.shape: cf-many-required
target-arrowhead.shape: cf-many-required
}
start.2 <-> end.2: 2 {
style.stroke-width: 2
source-arrowhead.shape: cf-many-required
target-arrowhead.shape: cf-many-required
}
start.4 <-> end.4: 4 {
style.stroke-width: 4
source-arrowhead.shape: cf-many-required
target-arrowhead.shape: cf-many-required
}
start.8 <-> end.8: 8 {
style.stroke-width: 8
source-arrowhead.shape: cf-many-required
target-arrowhead.shape: cf-many-required
}
start.15 <-> end.15: 15 {
style.stroke-width: 15
source-arrowhead.shape: cf-many-required
target-arrowhead.shape: cf-many-required
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 128 KiB

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 122 KiB