-
-
Notifications
You must be signed in to change notification settings - Fork 1
GSoC 2019 work Product Submission
To create a graphical library possibly using IUP extensible by Lua to allow easy creation of software like a schematic editor/flowchart creator/mind maps/block diagrams in Lua. The library needs to create basic mechanisms and graphic checks to create custom blocks and interconnections and provide an API to use these to create complex interactions like hierarchical schematic editors, etc.
First of all, you should have an IUP and CD library in your local system.
Download IUP from https://www.tecgraf.puc-rio.br/iup/
Download CD from https://www.tecgraf.puc-rio.br/cd/
Install lua-gl
using luarocks
luarocks install lua-gl
Some examples of using the library. Full details can be found in the documentation.
To use the module simply do
Creating a canvas object
cnvobj is an object of the IUP canvas. Canvas can be accessed by cnvobj like canvas = cnvobj.cnv
and we can perform operations on canvas using cnvobj.