Add frozen TikZRefinery demo baseline and build pipeline
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
digraph CreateTaskActivity {
|
||||
graph [bgcolor="white", pad="0.25", ranksep="0.45", splines="polyline"];
|
||||
node [shape="box", style="rounded,filled", fontname="Helvetica", fontsize="10", color="#1f4e79", fillcolor="#e8f0f7"];
|
||||
edge [fontname="Helvetica", fontsize="9", color="#546e7a", arrowsize="0.7"];
|
||||
|
||||
start [shape="circle", width="0.20", fixedsize="true", label="", style="filled", fillcolor="#263238", color="#263238"];
|
||||
enter [label="Enter title, estimate,\nand priority"];
|
||||
submit [label="Submit task"];
|
||||
valid [shape="diamond", label="Inputs\nvalid?", style="filled", fillcolor="#fff4df", color="#9a6700"];
|
||||
error [label="Show adjacent\nvalidation error", fillcolor="#fdecec", color="#b71c1c"];
|
||||
create [label="Create Pending task"];
|
||||
save [label="Save task data"];
|
||||
render [label="Render list and progress"];
|
||||
end [shape="doublecircle", width="0.24", fixedsize="true", label="", style="filled", fillcolor="#263238", color="#263238"];
|
||||
|
||||
start -> enter -> submit -> valid;
|
||||
valid -> error [label=" no"];
|
||||
error -> enter;
|
||||
valid -> create [label=" yes"];
|
||||
create -> save -> render -> end;
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
digraph RunSprintActivity {
|
||||
graph [bgcolor="white", pad="0.25", ranksep="0.42", nodesep="0.45", splines="polyline"];
|
||||
node [shape="box", style="rounded,filled", fontname="Helvetica", fontsize="9", color="#1f4e79", fillcolor="#e8f0f7"];
|
||||
edge [fontname="Helvetica", fontsize="8", color="#546e7a", arrowsize="0.65"];
|
||||
|
||||
start [shape="circle", width="0.18", fixedsize="true", label="", style="filled", fillcolor="#263238", color="#263238"];
|
||||
select [label="Select Pending task"];
|
||||
begin [label="Set deadline and start"];
|
||||
calculate [label="Calculate remaining time\nfrom current time and deadline"];
|
||||
zero [shape="diamond", label="Time\nzero?", style="filled", fillcolor="#fff4df", color="#9a6700"];
|
||||
action [shape="diamond", label="User\naction?", style="filled", fillcolor="#fff4df", color="#9a6700"];
|
||||
pause [label="Pause and retain\nremaining time"];
|
||||
resume [label="Resume with new deadline"];
|
||||
reset [label="Reset to task estimate"];
|
||||
complete [label="Complete task and\nupdate progress"];
|
||||
end [shape="doublecircle", width="0.22", fixedsize="true", label="", style="filled", fillcolor="#263238", color="#263238"];
|
||||
|
||||
start -> select -> begin -> calculate -> zero;
|
||||
zero -> end [label=" yes"];
|
||||
zero -> action [label=" no"];
|
||||
action -> calculate [label=" none"];
|
||||
action -> pause [label=" pause"];
|
||||
pause -> resume [label=" resume"];
|
||||
resume -> calculate;
|
||||
action -> reset [label=" reset"];
|
||||
reset -> end;
|
||||
action -> complete [label=" complete"];
|
||||
complete -> end;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
digraph DevelopmentView {
|
||||
graph [bgcolor="white", pad="0.25", ranksep="0.65", nodesep="0.55", splines="polyline"];
|
||||
node [shape="component", style="filled", fontname="Helvetica", fontsize="9", color="#1f4e79", fillcolor="#e8f0f7"];
|
||||
edge [fontname="Helvetica", fontsize="8", color="#546e7a", arrowsize="0.7"];
|
||||
|
||||
html [label="index.html\nDocument structure"];
|
||||
css [label="styles.css\nPresentation"];
|
||||
view [label="app.js\nView controller"];
|
||||
model [label="app.js\nPlanner model"];
|
||||
timer [label="app.js\nTimer controller"];
|
||||
storage [label="app.js\nStorage adapter"];
|
||||
tests [label="tests.html + tests.js\nTest harness", fillcolor="#edf6ed", color="#2e7d32"];
|
||||
|
||||
html -> css [label=" styles"];
|
||||
html -> view [label=" loads"];
|
||||
view -> model [label=" commands"];
|
||||
view -> timer [label=" controls"];
|
||||
view -> storage [label=" load/save"];
|
||||
tests -> model [label=" tests", style="dashed"];
|
||||
tests -> timer [label=" tests", style="dashed"];
|
||||
tests -> storage [label=" tests", style="dashed"];
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
digraph VModel {
|
||||
graph [bgcolor="white", pad="0.25", nodesep="0.50", ranksep="0.48", splines="polyline"];
|
||||
node [shape="box", style="rounded,filled", fontname="Helvetica", fontsize="10", color="#1f4e79", fillcolor="#e8f0f7", margin="0.12,0.08"];
|
||||
edge [fontname="Helvetica", fontsize="9", color="#4a6572", arrowsize="0.7"];
|
||||
|
||||
needs [label="Stakeholder Needs"];
|
||||
requirements [label="System and Software\nRequirements"];
|
||||
architecture [label="Architecture"];
|
||||
design [label="Detailed Design"];
|
||||
code [label="Implementation", fillcolor="#f3f3f3", color="#555555"];
|
||||
unit [label="Unit Tests", fillcolor="#edf6ed", color="#2e7d32"];
|
||||
integration [label="Integration Tests", fillcolor="#edf6ed", color="#2e7d32"];
|
||||
verification [label="System Verification", fillcolor="#edf6ed", color="#2e7d32"];
|
||||
validation [label="Stakeholder Validation", fillcolor="#edf6ed", color="#2e7d32"];
|
||||
|
||||
needs -> requirements -> architecture -> design -> code [label=" define", color="#1f4e79"];
|
||||
code -> unit -> integration -> verification -> validation [label=" evidence", color="#2e7d32"];
|
||||
|
||||
{ rank=same; needs; validation; needs -> validation [style="dashed", dir="none", color="#8293a0", label=" acceptance "]; }
|
||||
{ rank=same; requirements; verification; requirements -> verification [style="dashed", dir="none", color="#8293a0", label=" compliance "]; }
|
||||
{ rank=same; architecture; integration; architecture -> integration [style="dashed", dir="none", color="#8293a0", label=" integration "]; }
|
||||
{ rank=same; design; unit; design -> unit [style="dashed", dir="none", color="#8293a0", label=" correctness "]; }
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
digraph LogicalView {
|
||||
graph [bgcolor="white", pad="0.25", nodesep="0.55", ranksep="0.65", splines="polyline"];
|
||||
node [shape="record", style="filled", fontname="Helvetica", fontsize="9", color="#1f4e79", fillcolor="#e8f0f7", margin="0.10"];
|
||||
edge [fontname="Helvetica", fontsize="9", color="#546e7a", arrowsize="0.7"];
|
||||
|
||||
planner [label="{PlannerState|tasks : Task[*]\lactiveTaskId : string?\ltimer : TimerState\l}"];
|
||||
task [label="{Task|id : string\ltitle : string\lestimateMinutes : integer\lpriority : High | Medium | Low\lstatus : Pending | Complete\l}"];
|
||||
timer [label="{TimerState|mode : Stopped | Running | Paused\ldurationSeconds : integer\lremainingSeconds : integer\ltargetTime : number?\l}"];
|
||||
storage [label="{StorageRecord|schemaVersion : 1\ltasks : Task[*]\l}", fillcolor="#fff4df", color="#9a6700"];
|
||||
|
||||
planner -> task [label=" contains", arrowhead="diamond"];
|
||||
planner -> timer [label=" owns", arrowhead="diamond"];
|
||||
storage -> task [label=" serializes", style="dashed"];
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
digraph PhysicalView {
|
||||
graph [bgcolor="white", pad="0.25", ranksep="0.75", nodesep="0.55", splines="polyline"];
|
||||
node [shape="box3d", style="filled", fontname="Helvetica", fontsize="10", color="#455a64", fillcolor="#f7f7f7"];
|
||||
edge [fontname="Helvetica", fontsize="9", color="#546e7a", arrowsize="0.7"];
|
||||
|
||||
device [label="Student Device\nLaptop or desktop"];
|
||||
files [shape="folder", label="Local release folder\nHTML, CSS, JavaScript, tests", fillcolor="#fff4df", color="#9a6700"];
|
||||
browser [label="Browser Process\nDOM + JavaScript + timers", fillcolor="#e8f0f7", color="#1f4e79"];
|
||||
storage [shape="cylinder", label="Browser Profile\nlocalStorage", fillcolor="#edf6ed", color="#2e7d32"];
|
||||
network [shape="box", style="dashed", label="Network\nNot used", fillcolor="white", color="#b71c1c", fontcolor="#b71c1c"];
|
||||
|
||||
device -> files [label=" contains"];
|
||||
files -> browser [label=" opened by"];
|
||||
browser -> storage [label=" reads/writes"];
|
||||
browser -> network [label=" no requests", style="dashed", color="#b71c1c"];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
digraph SystemContext {
|
||||
graph [bgcolor="white", pad="0.25", nodesep="0.7", ranksep="0.7", splines="polyline"];
|
||||
node [fontname="Helvetica", fontsize="10", color="#455a64"];
|
||||
edge [fontname="Helvetica", fontsize="9", color="#546e7a", arrowsize="0.7"];
|
||||
|
||||
student [shape="box", style="rounded,filled", fillcolor="#f7f7f7", label="Student"];
|
||||
teacher [shape="box", style="rounded,filled", fillcolor="#f7f7f7", label="Teacher / Tester"];
|
||||
browser [shape="box3d", style="filled", fillcolor="#fff4df", label="Browser Runtime\nDOM, timers, Web Storage"];
|
||||
system [shape="box", style="rounded,filled,bold", penwidth="1.8", color="#1f4e79", fillcolor="#e8f0f7", width="2.8", height="1.2", label="Study Sprint Planner\nTask model, timer, UI, storage adapter"];
|
||||
|
||||
student -> system [label=" tasks and commands"];
|
||||
system -> student [label=" status and progress"];
|
||||
teacher -> system [label=" scenarios and tests"];
|
||||
system -> teacher [label=" evidence"];
|
||||
system -> browser [label=" browser APIs"];
|
||||
browser -> system [label=" events and stored data"];
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
digraph UseCases {
|
||||
graph [bgcolor="white", pad="0.25", nodesep="0.6", ranksep="0.6", splines="spline"];
|
||||
node [fontname="Helvetica", fontsize="10", color="#1f4e79"];
|
||||
edge [color="#546e7a", arrowsize="0.7", dir="none"];
|
||||
|
||||
customer [shape="box", style="rounded,filled", fillcolor="#f7f7f7", label="Customer"];
|
||||
analyst [shape="box", style="rounded,filled", fillcolor="#f7f7f7", label="Operations Analyst"];
|
||||
|
||||
subgraph cluster_system {
|
||||
label="[Project Name] System";
|
||||
fontname="Helvetica-Bold";
|
||||
fontsize="11";
|
||||
color="#1f4e79";
|
||||
style="rounded";
|
||||
margin="20";
|
||||
submit [shape="ellipse", style="filled", fillcolor="#e8f0f7", label="UC-001\nSubmit a Service Request"];
|
||||
status [shape="ellipse", style="filled", fillcolor="#e8f0f7", label="UC-002\nView Request Status"];
|
||||
export [shape="ellipse", style="filled", fillcolor="#e8f0f7", label="UC-003\nExport Request History"];
|
||||
}
|
||||
|
||||
customer -> submit;
|
||||
customer -> status;
|
||||
analyst -> export;
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
digraph UIWireframe {
|
||||
graph [bgcolor="white", pad="0.20"];
|
||||
node [shape="plain", fontname="Helvetica", fontsize="10"];
|
||||
page [label=<
|
||||
<TABLE BORDER="1" CELLBORDER="1" CELLSPACING="0" CELLPADDING="10" COLOR="#1f4e79">
|
||||
<TR><TD COLSPAN="2" BGCOLOR="#1f4e79"><FONT COLOR="white"><B>STUDY SPRINT PLANNER</B></FONT></TD></TR>
|
||||
<TR><TD COLSPAN="2" ALIGN="LEFT" BGCOLOR="#f7f7f7"><B>Progress:</B> 1 of 3 tasks complete</TD></TR>
|
||||
<TR>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP"><B>Add a task</B><BR ALIGN="LEFT"/>Title [________________]<BR ALIGN="LEFT"/>Estimate [25] minutes<BR ALIGN="LEFT"/>Priority [High v]<BR ALIGN="LEFT"/>[ Add Task ]</TD>
|
||||
<TD ALIGN="LEFT" VALIGN="TOP"><B>Focus timer</B><BR ALIGN="LEFT"/>Review algebra<BR ALIGN="LEFT"/><FONT POINT-SIZE="20"><B>24:18</B></FONT><BR ALIGN="LEFT"/>[ Pause ] [ Reset ]</TD>
|
||||
</TR>
|
||||
<TR><TD COLSPAN="2" ALIGN="LEFT"><B>Tasks</B><BR ALIGN="LEFT"/>[ ] Review algebra | 25 min | High | [Start] [Delete]<BR ALIGN="LEFT"/>[x] Read chapter 4 | 20 min | Medium | [Delete]</TD></TR>
|
||||
</TABLE>
|
||||
>];
|
||||
}
|
||||
Reference in New Issue
Block a user