novriantama / flowchart

0 stars 0 forks source link

How to move the object around? #1

Open felixprawira8 opened 4 years ago

felixprawira8 commented 4 years ago

Hi,

If you see the other flowchart generator, like Lucidchart, draw.io, they can move the object around. How if user don't want their flowchart looks like a linear tree, but they want to move object "B" into the right side of "A" image

And in the tech assessment instruction, there's 3 points, I only saw your work only reach point 2

novriantama commented 4 years ago

Hi, this flowchart generator can't drag and drop an object, i don't get the reference to do that (using laravel), and i don't know how to do it if i code it myself, i think if i do it, it will take times. How about i'am adding an edit form so you can move the object like object d previous chart from b to a?

Can you explain about the 3rd point? So the system giving a question, then generate flowchart. Can you give an example of the question? Thankyou

felixprawira8 commented 4 years ago

For your information there’s a lot of js library for drag and drop items. One of the example is gojs, it can drag and drop items but cannot add properties like link and popup action.

You can improve it so it’s not only linear tree like that.

For point 3, you generate 2 or more flowcharts first, then you create 1 question, either select or radio. The choices come from the flowchart that you have generated before, so if you generate 3 flowchart with name A, B, C, there’ll be 3 choices in questions. When user choose A, and submit the answer, show the flowchart A

novriantama commented 4 years ago

Okay, i think i'm gonna learn using gojs first, then trying to add action to the card.

Ohh i see, okay I'm trying to change it, thank you

novriantama commented 4 years ago

Hello Mr Felix, the program already finished, first you need to run php artisan migrate:fresh, and then add a flowchart, after that add an object to the flowchart, sorry for taking a long time because i have a family maters last week from friday to sunday, thankyou

felixprawira8 commented 4 years ago

Okay, thank you @novriantama . I’ll review the assessment and will inform Adiatama about the result.

novriantama commented 4 years ago

okay, thank you