Skip to content

Commit

Permalink
feat(qseow): Add explanation of the various shapes used in the task n…
Browse files Browse the repository at this point in the history
…etwork diagram to the legend

Implements #595
  • Loading branch information
mountaindude committed Jan 4, 2025
1 parent 1320df2 commit 2255dba
Showing 1 changed file with 55 additions and 6 deletions.
61 changes: 55 additions & 6 deletions src/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,54 @@
border-radius: 50%;
display: inline-block;
}

.triangle {
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 20px solid black;
display: inline-block;
}
.hexagon {
width: 30px;
height: 17.32px;
background-color: black;
position: relative;
display: inline-block;
transform: rotate(90deg); /* Rotate the hexagon */
}
.hexagon:before,
.hexagon:after {
content: "";
position: absolute;
width: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
}
.hexagon:before {
bottom: 100%;
border-bottom: 8.66px solid black;
}
.hexagon:after {
top: 100%;
width: 0;
border-top: 8.66px solid black;
}
.ellipse {
width: 30px;
height: 20px;
background-color: black;
border-radius: 50%;
display: inline-block;
}
.rounded-rectangle {
width: 30px;
height: 20px;
background-color: black;
border-radius: 5px;
display: inline-block;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -277,12 +325,13 @@ <h3>Node Legend</h3>
<p><span class="dot" style="background-color: rgb(80, 114, 225)"></span> Never executed task</p>
<p><span class="dot" style="background-color: lightgray"></span> Disabled</p>
<!-- Add more node types as needed -->
<!-- <hr>
Rectangle: Reload task<br>
Elipse: External program task or task cluser (if text within elipse is "cluster")<br>
Triangle: Schedule trigger<br>
<hr> -->
<!-- Add about info -->
<hr>
<p><strong>Shapes:</strong></p>
<p><span class="triangle"></span> Schedule trigger</p>
<p><span class="hexagon"></span> Composite trigger</p>
<p><span class="ellipse"></span> External program task</p>
<p><span class="rounded-rectangle"></span> Reload task</p>
<hr>
<p>Ctrl-Q {{appVersion}}</p>
<p>
More info at <a target="_blank" href="https://ctrl-q.ptarmiganlabs.com">ctrl-q.ptarmiganlabs.com</a><br />
Expand Down

0 comments on commit 2255dba

Please sign in to comment.