Class TornadoBlockProcessor

java.lang.Object
org.asciidoctor.extension.BaseProcessor
org.asciidoctor.extension.BlockProcessor
network.ike.docs.koncept.TornadoBlockProcessor
All Implemented Interfaces:
org.asciidoctor.extension.Processor

@Name("tornado") @Contexts(":listing") @ContentModel(":raw") public class TornadoBlockProcessor extends org.asciidoctor.extension.BlockProcessor
The [tornado] block in the documentation build (dev-decision-point-knowledge, settled 2026-11-06): a rendering of a graphlet model that holds no structure and no number, only how the model is viewed. It reads the model the block names, model=<id>, from the [graphlet-model] block before it, rolls the tree back at a health price (DecisionTreeRollback), sweeps every stated value one way (DecisionTreeSweep), and puts in the block's place the tornado of the sweep, one bar per value, as the decision-tree block drew it beneath the tree before the model had a block of its own.
[tornado, model=bimo-site-model, health-price=100000, title="How far each value swings the net value"]
----
----
A block that names no model reads its own body as a tree, so a tornado can be drawn for a tree written in place. The figure is drawn as the decision-tree block draws its figures: inline SVG on the html5 family, a content-addressed file where the converter places files, native drawing code on the Typst backend. A model the document does not have, or a tree that is not determinable, is named in a note, never drawn blank.
  • Field Summary

    Fields inherited from class org.asciidoctor.extension.BlockProcessor

    name
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new block processor instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    process(org.asciidoctor.ast.StructuralNode parent, org.asciidoctor.extension.Reader reader, Map<String,Object> attributes)
     

    Methods inherited from class org.asciidoctor.extension.BlockProcessor

    getName, setName

    Methods inherited from class org.asciidoctor.extension.BaseProcessor

    createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createDocument, createList, createList, createList, createListItem, createListItem, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createSection, createSection, createSection, createSection, createSection, createTable, createTable, createTableCell, createTableCell, createTableCell, createTableCell, createTableColumn, createTableColumn, createTableRow, getConfig, log, newCursor, newCursor, newCursor, newReader, newReader, newReader, newReader, parseContent, setConfig, unwrap, updateConfig

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TornadoBlockProcessor

      public TornadoBlockProcessor()
      Creates a new block processor instance.
  • Method Details

    • process

      public Object process(org.asciidoctor.ast.StructuralNode parent, org.asciidoctor.extension.Reader reader, Map<String,Object> attributes)
      Specified by:
      process in class org.asciidoctor.extension.BlockProcessor