Skip to content

Commit

Permalink
Merge of pull request #741
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Jun 29, 2019
1 parent 666e587 commit 4bb0da0
Show file tree
Hide file tree
Showing 10 changed files with 277 additions and 168 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions e2e/spec/flowchart.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ describe('Flowcart', () => {
{})
})

it('should render a simple flowchart with trapezoid and inverse trapezoid vertex options.', async () => {
await imgSnapshotTest(page, `
graph TD
A[/Christmas\\]
A -->|Get money| B[\\Go shopping/]
B --> C{Let me thinksssss<br/>ssssssssssssssssssssss<br/>sssssssssssssssssssssssssss}
C -->|One| D[/Laptop/]
C -->|Two| E[\\iPhone\\]
C -->|Three| F[Car]
`,
{})
})

it('should render a flowchart full of circles', async () => {
await imgSnapshotTest(page, `
graph LR
Expand Down
20 changes: 10 additions & 10 deletions src/diagrams/class/parser/classDiagram.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4bb0da0

Please sign in to comment.