I have a problem in my web project. I need a generator that will generate a html block diagram (form of a mathematical graph) from a json or xml object.
The problem is that when generating a block diagram, there are communication lines. I want to write an algorithm for optimally drawing these lines and placing diagrams on the screen. I think there should be such libraries. But I can not find any library that generates the optimal chart screen from json or xml (or any other structure of the object). I found such libraries:
http://raphaeljs.com/
for example, as a form
source share