4 ms·
Love it so far. Is there a way to make HTTP requests in the Lua code (or a way to add plugins)? I can think of a few applications where it would be nice to gene
by mipmap04 9y ago
Love it so far. Is there a way to make HTTP requests in the Lua code (or a way to add plugins)? I can think of a few applications where it would be nice to generate some diagrams off web requests using Lua-cURL and a json parser.
- ttd 9y agoPlugins are definitely on the roadmap. Much of the complexity there is just exposing the API, which is already done for program mode. Your idea of generating diagrams from web request data is great! I'll definitely keep that one in mind. On a related note, it's also planned that you will be able to invoke Vexlio from the command line with a Lua script to programmatically generate diagrams from the shell. That is not yet implemented, however.
- samstave 9y agoCan you please give examples of the applications you're thinking of?
- erinaceousjones 9y agoMaking pretty diagrams from swagger JSON specifications of live APIs would be pretty awesome
- mipmap04 9y agoMostly around data visualization for quarterly reports. Occasionally I make infographics for stakeholders that involve some unusual data visualization / presentation that is more artistic than the usual bars and lines. A tool like this would allow me to build the template for my periodic infographics and then I could enter the data on a website and have the infographic generate on the fly. I've used d3.js for something very similar in the past, but I find d3.js to be a bit complicated and this would be a lot easier to share with less technical team members who I would like to eventually own the creation of these reports.