Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Check-mark alternative for closed branches. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | indicate-closed-branches-in-timeline |
| Files: | files | file ages | folders |
| SHA3-256: |
62ab3a1d8020459034be1975ad39e843 |
| User & Date: | preben 2023-09-27 15:17:54.346 |
Context
|
2023-09-27
| ||
| 15:17 | Check-mark alternative for closed branches. ... (Closed-Leaf check-in: 62ab3a1d80 user: preben tags: indicate-closed-branches-in-timeline) | |
| 11:24 | Draw an X instead of a horizontal line. Uses SVG as attempts with characters differed wildly among browsers. ... (check-in: 63785bd911 user: preben tags: indicate-closed-branches-in-timeline) | |
Changes
Changes to src/graph.js.
| ︙ | ︙ | |||
396 397 398 399 400 401 402 |
var n = drawBox(cls,p.bg,p.x,p.y);
n.id = "tln"+p.id;
n.onclick = clickOnNode;
n.ondblclick = dblclickOnNode;
n.onmousemove = mouseOverNode;
n.style.zIndex = 10;
if( p.f&2 ){
| < < < < < < < > | > > | 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
var n = drawBox(cls,p.bg,p.x,p.y);
n.id = "tln"+p.id;
n.onclick = clickOnNode;
n.ondblclick = dblclickOnNode;
n.onmousemove = mouseOverNode;
n.style.zIndex = 10;
if( p.f&2 ){
n.innerHTML = "<svg width='100%' height='100%'viewbox='0 0 100 100'>"
+ "<line x1='25' y1='55' x2='45' y2='75'"
+ " stroke='currentcolor' stroke-width='15' stroke-linecap='round'/>"
+ "<line x1='75' y1='30' x2='45' y2='75'"
+ " stroke='currentcolor' stroke-width='15' stroke-linecap='round'/>"
+ "</svg>";
}
if( !tx.omitDescenders ){
if( p.u==0 ){
if( p.hasOwnProperty('mo') && p.r==p.mo ){
var ix = p.hasOwnProperty('cu') ? p.cu : p.mu;
var top = tx.rowinfo[ix-tx.iTopRow]
|
| ︙ | ︙ |