Skip to content

I2Djs/node-i2djs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-I2djs npm Downloads

What is node-i2djs?

Node-i2djs is a server side node.js module that allows for the creation of 2D graphics using canvas, and features a declarative and virtual DOM-based model for efficient rendering. It is constructed on top of the node-canvas module and provides APIs to produce and export content in various media formats, including images, PDFs.. etc.

What does it provide?

Node-i2djs utilizes a declarative method that simplifies the definition of various geometrical entities, similar to those supported in SVG. This approach also facilitates pixel manipulations, multimedia support, and the creation of PDF files... etc It provides API to create, access, modify, and delete graphical entities on canvas. Functionalities such as Data Joins (Join-Actions) help in associating/binding data with graphical elements and their manipulations.

It provides API's to create, access, modify, and delete graphical entities on canvas. Functionalities such as Data Joins (Join-Actions) help in associating/binding data with graphical elements and their manipulations. The following node-i2djs features helps in achieving efficient and scalable rendering:

  • Declarative Rendering: Node-i2djs provides a simpler syntax and semantics by abstracting from complex native syntax. Inline with client - I2Djs framework.
  • Virtual DOM tree: Node-I2Djs implements a Virtual DOM tree, which is a JavaScript object that reflects the corresponding rendering DOM. This feature preserves the state and allows for Create, Read, Update, and Delete operations on the rendering tree.
  • Join-Actions(Data Joins): The Join-Action mechanism in Node-i2djs facilitates the binding of data to graphical elements by defining the Enter, Update, and Exit actions. This feature offers adaptable handlers to modify data and activate corresponding actions in an efficient manner.
  • Multi page PDF / media support: Node-i2djs lets u export the content in different media formats. It also provides exclusive apis to create multi page graphical PDFs.

Documentation

Example

Click on below example to explore node-i2djs