Fossil SCM
Re-imported pikchr's example scripts using the output from its new example-to-js converter.
Commit
4d946271f73ed3f23a52fee81bda030187c9fd18c6e84847a9c79b60062cf89a
Parent
79023c9273e2536…
1 file changed
+4
-7
+4
-7
| --- src/fossil.page.pikchrshow.js | ||
| +++ src/fossil.page.pikchrshow.js | ||
| @@ -386,14 +386,13 @@ | ||
| 386 | 386 | P.predefinedPiks = [ |
| 387 | 387 | {name: "-- Example Scripts --"}, |
| 388 | 388 | /* |
| 389 | 389 | The following were imported from the pikchr test scripts: |
| 390 | 390 | |
| 391 | - https://fossil-scm.org/pikchr/dir/tests | |
| 391 | + https://fossil-scm.org/pikchr/dir/examples | |
| 392 | 392 | */ |
| 393 | - | |
| 394 | -{name: "headings01", code:` linerad = 5px | |
| 393 | +{name:"Cardinal headings",code:` linerad = 5px | |
| 395 | 394 | C: circle "Center" rad 150% |
| 396 | 395 | circle "N" at 1.0 n of C; arrow from C to last chop -> |
| 397 | 396 | circle "NE" at 1.0 ne of C; arrow from C to last chop <- |
| 398 | 397 | circle "E" at 1.0 e of C; arrow from C to last chop <-> |
| 399 | 398 | circle "SE" at 1.0 se of C; arrow from C to last chop -> |
| @@ -408,12 +407,11 @@ | ||
| 408 | 407 | thickness 150% fill lightblue radius 75% |
| 409 | 408 | arrow from Center to ESE thickness 150% <-> chop |
| 410 | 409 | arrow from ESE up 1.35 then to NE chop |
| 411 | 410 | line dashed <- from E.e to (ESE.x,E.y) |
| 412 | 411 | line dotted <-> thickness 50% from N to NW chop |
| 413 | -`}, | |
| 414 | -{name: "objects", code:`AllObjects: [ | |
| 412 | +`},{name:"Core object types",code:`AllObjects: [ | |
| 415 | 413 | |
| 416 | 414 | # First row of objects |
| 417 | 415 | box "box" |
| 418 | 416 | box rad 10px "box (with" "rounded" "corners)" at 1in right of previous |
| 419 | 417 | circle "circle" at 1in right of previous |
| @@ -460,12 +458,11 @@ | ||
| 460 | 458 | |
| 461 | 459 | ] # end of AllObjects |
| 462 | 460 | |
| 463 | 461 | # Label the whole diagram |
| 464 | 462 | text "Examples Of Pikchr Objects" big bold at .8cm above north of AllObjects |
| 465 | -`}, | |
| 466 | -{name: "swimlane", code:` $laneh = 0.75 | |
| 463 | +`},{name:"Swimlanes",code:` $laneh = 0.75 | |
| 467 | 464 | |
| 468 | 465 | # Draw the lanes |
| 469 | 466 | down |
| 470 | 467 | box width 3.5in height $laneh fill 0xacc9e3 |
| 471 | 468 | box same fill 0xc5d8ef |
| 472 | 469 |
| --- src/fossil.page.pikchrshow.js | |
| +++ src/fossil.page.pikchrshow.js | |
| @@ -386,14 +386,13 @@ | |
| 386 | P.predefinedPiks = [ |
| 387 | {name: "-- Example Scripts --"}, |
| 388 | /* |
| 389 | The following were imported from the pikchr test scripts: |
| 390 | |
| 391 | https://fossil-scm.org/pikchr/dir/tests |
| 392 | */ |
| 393 | |
| 394 | {name: "headings01", code:` linerad = 5px |
| 395 | C: circle "Center" rad 150% |
| 396 | circle "N" at 1.0 n of C; arrow from C to last chop -> |
| 397 | circle "NE" at 1.0 ne of C; arrow from C to last chop <- |
| 398 | circle "E" at 1.0 e of C; arrow from C to last chop <-> |
| 399 | circle "SE" at 1.0 se of C; arrow from C to last chop -> |
| @@ -408,12 +407,11 @@ | |
| 408 | thickness 150% fill lightblue radius 75% |
| 409 | arrow from Center to ESE thickness 150% <-> chop |
| 410 | arrow from ESE up 1.35 then to NE chop |
| 411 | line dashed <- from E.e to (ESE.x,E.y) |
| 412 | line dotted <-> thickness 50% from N to NW chop |
| 413 | `}, |
| 414 | {name: "objects", code:`AllObjects: [ |
| 415 | |
| 416 | # First row of objects |
| 417 | box "box" |
| 418 | box rad 10px "box (with" "rounded" "corners)" at 1in right of previous |
| 419 | circle "circle" at 1in right of previous |
| @@ -460,12 +458,11 @@ | |
| 460 | |
| 461 | ] # end of AllObjects |
| 462 | |
| 463 | # Label the whole diagram |
| 464 | text "Examples Of Pikchr Objects" big bold at .8cm above north of AllObjects |
| 465 | `}, |
| 466 | {name: "swimlane", code:` $laneh = 0.75 |
| 467 | |
| 468 | # Draw the lanes |
| 469 | down |
| 470 | box width 3.5in height $laneh fill 0xacc9e3 |
| 471 | box same fill 0xc5d8ef |
| 472 |
| --- src/fossil.page.pikchrshow.js | |
| +++ src/fossil.page.pikchrshow.js | |
| @@ -386,14 +386,13 @@ | |
| 386 | P.predefinedPiks = [ |
| 387 | {name: "-- Example Scripts --"}, |
| 388 | /* |
| 389 | The following were imported from the pikchr test scripts: |
| 390 | |
| 391 | https://fossil-scm.org/pikchr/dir/examples |
| 392 | */ |
| 393 | {name:"Cardinal headings",code:` linerad = 5px |
| 394 | C: circle "Center" rad 150% |
| 395 | circle "N" at 1.0 n of C; arrow from C to last chop -> |
| 396 | circle "NE" at 1.0 ne of C; arrow from C to last chop <- |
| 397 | circle "E" at 1.0 e of C; arrow from C to last chop <-> |
| 398 | circle "SE" at 1.0 se of C; arrow from C to last chop -> |
| @@ -408,12 +407,11 @@ | |
| 407 | thickness 150% fill lightblue radius 75% |
| 408 | arrow from Center to ESE thickness 150% <-> chop |
| 409 | arrow from ESE up 1.35 then to NE chop |
| 410 | line dashed <- from E.e to (ESE.x,E.y) |
| 411 | line dotted <-> thickness 50% from N to NW chop |
| 412 | `},{name:"Core object types",code:`AllObjects: [ |
| 413 | |
| 414 | # First row of objects |
| 415 | box "box" |
| 416 | box rad 10px "box (with" "rounded" "corners)" at 1in right of previous |
| 417 | circle "circle" at 1in right of previous |
| @@ -460,12 +458,11 @@ | |
| 458 | |
| 459 | ] # end of AllObjects |
| 460 | |
| 461 | # Label the whole diagram |
| 462 | text "Examples Of Pikchr Objects" big bold at .8cm above north of AllObjects |
| 463 | `},{name:"Swimlanes",code:` $laneh = 0.75 |
| 464 | |
| 465 | # Draw the lanes |
| 466 | down |
| 467 | box width 3.5in height $laneh fill 0xacc9e3 |
| 468 | box same fill 0xc5d8ef |
| 469 |