Pikchr

Check-in [48f6026638]
Login
Overview
Comment:Replaced the macro form of "diamond" in test71.pikchr with native Pikchr diamonds. Rigorous regression testing would flag a change like this for a difference in the SVG output, but we don't have that in this project; "make test" merely opens the result of rendering this file and others in an HTML page for visual inspection.

Another way of justifying this commit, therefore, is that it fixes syntax errors in the test output, owing to the recent elevation of "diamond" to a keyword.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 48f60266386dcf07a88b3c5f550e901675a2b9dac4529e7cdfb44afa8d081740
User & Date: wyoung 2024-02-08 19:41:42
Context
2024-02-08
19:49
Added "toggle" to all of the doc/*obj.md pikchr examples since they serve as syntax examples as well. (check-in: 178dc953da user: wyoung tags: trunk)
19:41
Replaced the macro form of "diamond" in test71.pikchr with native Pikchr diamonds. Rigorous regression testing would flag a change like this for a difference in the SVG output, but we don't have that in this project; "make test" merely opens the result of rendering this file and others in an HTML page for visual inspection.

Another way of justifying this commit, therefore, is that it fixes syntax errors in the test output, owing to the recent elevation of "diamond" to a keyword. (check-in: 48f6026638 user: wyoung tags: trunk)

18:59
Moved the list of other documents referenced from the userman up into the intro, and reworked its presentation to flow better. (check-in: 3ed4687689 user: wyoung tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/test71.pikchr.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
      fill = bisque
      linerad = 15px
      leftmargin = 2cm

      define diamond { \
        box wid 150% invis
        line from last.w to last.n to last.e to last.s close rad 0 $1
      }

      oval "SUBMIT TICKET" width 150%
      down
      arrow 50%
NEW:  file "New bug ticket" "marked \"Open\"" fit
      arrow same
      box "Triage," "augment &" "correct" fit
      arrow same
DC:   box "Developer comments" fit
      arrow same
FR:   box "Filer responds" fit
      arrow 100%
REJ:  diamond("Reject?")
      right
      arrow 100% "Yes" above
      box "Mark ticket" "\"Rejected\" &" "\"Resolved\"" fit with .w at previous.e
      arrow right 50%
REJF: file "Rejected" "ticket" fit
      arrow right 50%
REOP: diamond("Reopen?")
      down
REJA: arrow 75% from REJ.s "  No; fix it" ljust
CHNG: box "Developer changes code" with .n at last arrow.s fit
      arrow 50%
FIXD: diamond("Fixed?")
      right
FNO:  arrow "No" above
RES:  box "Optional:" "Update ticket resolution:" "\"Partial Fix\", etc." fit
      down
      arrow 75% "  Yes" ljust from FIXD.s
      box "Mark ticket" "\"Fixed\" & \"Closed\"" fit
      arrow 50%




<
<
<
<
<











|






|




|







1
2
3
4





5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
      fill = bisque
      linerad = 15px
      leftmargin = 2cm






      oval "SUBMIT TICKET" width 150%
      down
      arrow 50%
NEW:  file "New bug ticket" "marked \"Open\"" fit
      arrow same
      box "Triage," "augment &" "correct" fit
      arrow same
DC:   box "Developer comments" fit
      arrow same
FR:   box "Filer responds" fit
      arrow 100%
REJ:  diamond "Reject?"
      right
      arrow 100% "Yes" above
      box "Mark ticket" "\"Rejected\" &" "\"Resolved\"" fit with .w at previous.e
      arrow right 50%
REJF: file "Rejected" "ticket" fit
      arrow right 50%
REOP: diamond "Reopen?"
      down
REJA: arrow 75% from REJ.s "  No; fix it" ljust
CHNG: box "Developer changes code" with .n at last arrow.s fit
      arrow 50%
FIXD: diamond "Fixed?"
      right
FNO:  arrow "No" above
RES:  box "Optional:" "Update ticket resolution:" "\"Partial Fix\", etc." fit
      down
      arrow 75% "  Yes" ljust from FIXD.s
      box "Mark ticket" "\"Fixed\" & \"Closed\"" fit
      arrow 50%