Skip to content

Output structured data #61

@nkh

Description

@nkh

Hi, I'm the author of https://github.com/nkh/P5-App-Asciio

A contributor ( THE contributor ;) ) uses Diagon and has been bugging me to try it, nice work, I was looking for something to replace PlantUml.

Then it hit me that we work on different parts of the documentation space which I would describe as:

.----------.               .------------.            .-----------------.
| raw data |-->transform-->| input data |-->Diagon-->| ASCII rendering |----.
'----------'               '------------'            '-----------------'    |
                    .-------------------------------------------------------'
                    |
                    v                                .---------------.
                 Asciio--------------------->Goat--->| SVG rendering |
                                                     '---------------'

The problem here is that the ASCII rendering from Diagon is just a block of codes and Asciio can only manipulate it as a block.

If Diagon was capable to output structured data describing what objects are placed were, then that input could be transformed in Asciio elements that can be manipulated before they are output as ASCII or passed to Goat/svgbob, ... to generate SVG.

So I'm seeing Diagon as some sort of Graphviz .

If you already have the layout information, could you generated a structured output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions