Pravin Posted January 28, 2014 Share Posted January 28, 2014 Hi Guys, I am new to HTML5 and working on creating a flowchart using canvas. This is how the flowchart is expected to work. The flowchart should be dynamically generated on canvas using some predefined data source say for eg. Reading an XML file. My focus is toward drawing the flow chart in canvas. I was able to draw a flow chart which open up when a user clicks a box based on the decision that he may want to take. I was able to draw the flowchart based on some predefined flow however it is like drawing on the canvas without any logic. I am looking out for some kind of algorithm which will be capable of generating the flow chart keeping the positions in mind and can guide the user based on the root he follow progressively . You help and guidance will be appreciated as I have explored web but do not find anything suitable to my problem. I was not able to upload Zip file but have provided screenshot for publishing.html Quote Link to comment Share on other sites More sharing options...
mavericknl Posted January 29, 2014 Share Posted January 29, 2014 You should look at Flow Based Programming and Noflo in particular. I love flows! Quote Link to comment Share on other sites More sharing options...
Pravin Posted January 29, 2014 Author Share Posted January 29, 2014 Thanks Mavericknl - Noflo Technology seems to be interesting; however we need to deliver our client something similar to what I posted as an example in HTML5 and CSS3. We are able to draw on the canvas but the real challenge is drawling it dynamically by tracking position for each new block and decision made by the user. There is a lot of flow but seems that no one tried it in simple form. Any help here will be appreciated!! Quote Link to comment Share on other sites More sharing options...
Pravin Posted February 4, 2014 Author Share Posted February 4, 2014 Is it not possible in HTML5? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.