diff --git a/docs/index.html b/docs/index.html index fd64fc2..fe0e56e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,10 +1,9 @@ + + - - - @@ -341,6 +340,17 @@

§ 1.1. Scientiam in focō

scientiam-basi-verbosum.gv +
  • + + + + + scientiam-basi-verbosum.json (picturam.html) + +
  • @@ -510,6 +520,17 @@

    § 1.2. Scientiam ex exempl referentia-normam.gv +
  • + + + + + referentia-normam.json (picturam.html) + +
  • @@ -1254,6 +1275,15 @@

    HtmlElementum.href = 'https://edotor.net/?engine=dot#' + data_encoded return false; }, + 'picturam_json': function (crudum_datum, HtmlElementum, numerordinatio_abstractum, datum_specificum_rem) { + console.log('functionem_constructionem picturam_json', crudum_datum) + let _peritum = { + 'json_data': crudum_datum + } + // HtmlElementum.href = './picturam.html#?peritum=' + encodeURI(JSON.stringify(_peritum)) + HtmlElementum.href = './picturam.html#?peritum=' + JSON.stringify(_peritum) + return false; + }, }, // 'globum': 'status_quo', // window.status_quo // cōnscientiam, https://en.wiktionary.org/wiki/conscientia @@ -1589,7 +1619,7 @@ let __result = scientia.reversumLogicae(document.querySelector('#i_reversum_logicae').value) // console.log(ui_reversum_logicae, ui_reversum_logicae.value) - CoreMirroReversumAst.setValue('# @TODO ' + JSON.stringify(__result)) + CoreMirroReversumAst.setValue('# @TODO Graphviz de: ' + JSON.stringify(__result)) // return false; }); diff --git a/docs/lib/numerordinatio-picturam.mjs b/docs/lib/numerordinatio-picturam.mjs index a76ff28..126aacc 100644 --- a/docs/lib/numerordinatio-picturam.mjs +++ b/docs/lib/numerordinatio-picturam.mjs @@ -6,7 +6,7 @@ import { Auxilium, BCP47Langtag, Primitivum, codicem_separato } from './numerord // import * as D3 from 'https://cdnjs.cloudflare.com/ajax/libs/d3/7.2.1/d3.js'; // import { * } from 'https://cdnjs.cloudflare.com/ajax/libs/d3/7.2.1/d3.js' -console.log('numerordinatio-picturam.mjs') +// console.log('numerordinatio-picturam.mjs') class Picturam { constructor(d3, radicem) { @@ -72,7 +72,7 @@ class PicturamDL extends Picturam { crudum_html.push(`data-bcp47-privateuse="${bcp47.privateuse.join(',')}"`) } - console.log('bcp47', bcp47) + // console.log('bcp47', bcp47) return crudum_html.join(' ') } @@ -151,10 +151,11 @@ class PicturamDL extends Picturam { } - result += `
    ` - // result += `${indicem}_${clavem}` - result += `${clavem}` + // result += `${ego_codicem}` + let result_group = '' + let result_group_simplex_label = '' + let result_group_simplex_title = '' for (let [clavem_2, rem_subitem_2] of Object.entries(rem_subitem)) { // console.log('clavem_2', clavem_2, __RegulaNumerumInVasum.test(clavem_2)) if (__RegulaNumerumInVasum.test(clavem_2)) { @@ -169,9 +170,10 @@ class PicturamDL extends Picturam { progenitorem_inner = __base__3 } - console.log() + // console.log() // result += `\n${recursive(rem_subitem_2, (indicem + 1))}` - result += `\n${recursive(recursive_item, (indicem + 1), progenitorem_inner)}` + // result += `\n${recursive(recursive_item, (indicem + 1), progenitorem_inner)}` + result_group += `\n${recursive(recursive_item, (indicem + 1), progenitorem_inner)}` // console.log('@todo: re-enable recursive') } else { @@ -182,16 +184,28 @@ class PicturamDL extends Picturam { // console.log('_linguam', _linguam) let ldata = PicturamDL._htmlDataAttributes(_linguam) for (let [_temp2, indicem_et_rem] of Object.entries(rem_subitem_2)) { - result += `
    ` + // result += `
    ` + result_group += `
    ` // result += `
    ${linguam}
    ` - result += `
    ${_linguam}
    ` + // result += `
    ${_linguam}
    ` + result_group += `
    ${_linguam}
    ` for (let [indicem, rem_crudum] of Object.entries(indicem_et_rem)) { - result += `
    ${indicem}: ${rem_crudum}
    ` + // result += `
    ${indicem}: ${rem_crudum}
    ` + if (!result_group_simplex_label) { + result_group_simplex_label = ` ${rem_crudum}` + result_group_simplex_title = `${rem_crudum}` + } + + result_group += `
    ${indicem}: ${rem_crudum}
    ` } - result += `
    ` + // result += `
    ` + result_group += `
    ` } } } + result += `
    ` + result += `${clavem}${result_group_simplex_label}` + result += result_group result += `
    ` } else { let _linguam = clavem diff --git a/docs/picturam.html b/docs/picturam.html index 954658a..53b7478 100644 --- a/docs/picturam.html +++ b/docs/picturam.html @@ -1,5 +1,9 @@ + @@ -10,14 +14,19 @@ Numerordĭnātĭo pictūrae