[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2024-07-18 10:03:35 +00:00
committed by GitHub
parent e099e7d220
commit 8fe2d7c2e6
4 changed files with 166 additions and 165 deletions

View File

@@ -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>

View File

@@ -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';