Object-Based Flow Charts (obfc.js)

obfc.js is an object-based JavaScript Library for drawing SVG flow charts acroos modern web browsers. It makes easily to construct objects, links and connections. Moreover, it dispatches a click event when an object or a line is clicked and descriptions can be added for all clicks. Daha fazla...

obfc.js: Properties of a SVG shape

obfc.js has 24 different SVG shapes but this post is described properties of a shape (process) by examples. add_theObject is a function that adds the object into a given SVG element and returns this object. This returned object is used for drawing lines between two objects. There are 24 different SVG objects in obfc.js. 22 of them contain 9 parameters for creating an object. First two parameters are required, others are optimal.  Daha fazla...

obfc.js: free_draw and free_write functions

This post introduces two function in obfc.js: free_draw and free_write functions. If you don't like draw of Line function, you can draw free line easily with free_draw function. Moreover, free_write function can be used for write text into the SVG element. Daha fazla...