mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
#5237 added state refactor test page
This commit is contained in:
parent
683695bec2
commit
7372d9055a
1003
cypress/platform/state-refactor.html
Normal file
1003
cypress/platform/state-refactor.html
Normal file
File diff suppressed because it is too large
Load Diff
@ -755,7 +755,7 @@ const dataFetcher = (parent, parsedItem, diagramStates, nodes, edges, altFlag, u
|
||||
* @param nodeData
|
||||
*/
|
||||
function insertOrUpdateNode(nodes, nodeData) {
|
||||
if (!nodeData.id || nodeData.id === '</join></fork>') {
|
||||
if (!nodeData.id || nodeData.id === '</join></fork>' || nodeData.id === '</choice>') {
|
||||
return;
|
||||
}
|
||||
const existingNodeData = nodes.find((node) => node.id === nodeData.id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user