Skip to content

GSoC 2019 work Product Submission

Deepak Singh Rathore edited this page Aug 18, 2019 · 18 revisions

Overview

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.

Library link

Commits link

Installing the library using Luarocks.

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

Usage

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.

Work Status

Clone this wiki locally