mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-23 10:16:43 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
@@ -139,7 +138,8 @@
|
|||||||
right_disk{group} (L--R) center_disk{group}
|
right_disk{group} (L--R) center_disk{group}
|
||||||
top_disk{group} (B--T) center_disk{group}
|
top_disk{group} (B--T) center_disk{group}
|
||||||
bottom_disk{group} (T--B) center_disk{group}
|
bottom_disk{group} (T--B) center_disk{group}
|
||||||
</pre>
|
</pre
|
||||||
|
>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<h2>Edge Label Test</h2>
|
<h2>Edge Label Test</h2>
|
||||||
@@ -235,7 +235,8 @@
|
|||||||
|
|
||||||
s3 L--R ec2
|
s3 L--R ec2
|
||||||
s3 T--B wave
|
s3 T--B wave
|
||||||
</pre>
|
</pre
|
||||||
|
>
|
||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import mermaid from './mermaid.esm.mjs';
|
import mermaid from './mermaid.esm.mjs';
|
||||||
@@ -295,7 +296,7 @@
|
|||||||
iconSize: 80,
|
iconSize: 80,
|
||||||
},
|
},
|
||||||
useMaxWidth: false,
|
useMaxWidth: false,
|
||||||
iconLibraries: ['aws:full']
|
iconLibraries: ['aws:full'],
|
||||||
});
|
});
|
||||||
function callback() {
|
function callback() {
|
||||||
alert('It worked');
|
alert('It worked');
|
||||||
@@ -306,5 +307,4 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@@ -102,7 +102,8 @@ function addGroups(groups: ArchitectureGroup[], cy: cytoscape.Core) {
|
|||||||
|
|
||||||
function addEdges(edges: ArchitectureEdge[], cy: cytoscape.Core) {
|
function addEdges(edges: ArchitectureEdge[], cy: cytoscape.Core) {
|
||||||
edges.forEach((parsedEdge) => {
|
edges.forEach((parsedEdge) => {
|
||||||
const { lhsId, rhsId, lhsInto, lhsGroup, rhsInto, lhsDir, rhsDir, rhsGroup, title } = parsedEdge;
|
const { lhsId, rhsId, lhsInto, lhsGroup, rhsInto, lhsDir, rhsDir, rhsGroup, title } =
|
||||||
|
parsedEdge;
|
||||||
const edgeType = isArchitectureDirectionXY(parsedEdge.lhsDir, parsedEdge.rhsDir)
|
const edgeType = isArchitectureDirectionXY(parsedEdge.lhsDir, parsedEdge.rhsDir)
|
||||||
? 'segments'
|
? 'segments'
|
||||||
: 'straight';
|
: 'straight';
|
||||||
|
Reference in New Issue
Block a user