This commit is contained in:
Sidharth Vinod
2022-09-03 13:30:16 +05:30
parent 661f283dab
commit f6d69b33b3
78 changed files with 7227 additions and 2379 deletions

View File

@@ -26,9 +26,9 @@ This means that **you should branch off your pull request from develop** and dir
We make all changes via Pull Requests. As we have many Pull Requests from developers new to mermaid, we have put in place a process, wherein _knsv, Knut Sveidqvist_ is the primary reviewer of changes and merging pull requests. The process is as follows:
- Large changes reviewed by knsv or other developer asked to review by knsv
- Smaller, low-risk changes like dependencies, documentation, etc. can be merged by active collaborators
- Documentation (we encourage updates to the `src/docs` folder; you can submit them via direct commits)
- Large changes reviewed by knsv or other developer asked to review by knsv
- Smaller, low-risk changes like dependencies, documentation, etc. can be merged by active collaborators
- Documentation (we encourage updates to the `src/docs` folder; you can submit them via direct commits)
When you commit code, create a branch with the following naming convention:
@@ -84,8 +84,8 @@ This is what a rendering test looks like:
```js
it('should render forks and joins', () => {
imgSnapshotTest(
`
imgSnapshotTest(
`
stateDiagram
state fork_state <<fork>>
[*] --> fork_state
@@ -98,9 +98,9 @@ it('should render forks and joins', () => {
join_state --> State4
State4 --> [*]
`,
{ logLevel: 0 }
);
cy.get('svg');
{ logLevel: 0 }
);
cy.get('svg');
});
```