add arrowheads sketch test

This commit is contained in:
Gavin Nishizawa 2023-01-12 18:24:58 -08:00
parent 7bea56301c
commit 033a005eea
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD
2 changed files with 132 additions and 0 deletions

View file

@ -280,6 +280,51 @@ shipments.order_id <-> orders.id`,
+getJobs(): "Job[]" +getJobs(): "Job[]"
+setTimeout(seconds int) +setTimeout(seconds int)
} }
`,
},
{
name: "arrowheads",
script: `
a.0 <-> b.0: <->
a.1 -- b.1: --
a.2 <-> b.2: arrow {
source-arrowhead.shape: arrow
target-arrowhead.shape: arrow
}
a.3 <-> b.3: triangle {
source-arrowhead.shape: triangle
target-arrowhead.shape: triangle
}
a.4 <-> b.4: diamond {
source-arrowhead.shape: diamond
target-arrowhead.shape: diamond
}
a.5 <-> b.5: diamond filled {
source-arrowhead: {
shape: diamond
style.filled: true
}
target-arrowhead: {
shape: diamond
style.filled: true
}
}
a.6 <-> b.6: cf-many {
source-arrowhead.shape: cf-many
target-arrowhead.shape: cf-many
}
a.7 <-> b.7: cf-many-required {
source-arrowhead.shape: cf-many-required
target-arrowhead.shape: cf-many-required
}
a.8 <-> b.8: cf-one {
source-arrowhead.shape: cf-one
target-arrowhead.shape: cf-one
}
a.9 <-> b.9: cf-one-required {
source-arrowhead.shape: cf-one-required
target-arrowhead.shape: cf-one-required
}
`, `,
}, },
} }

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 349 KiB