Create Graph Open Edx

how to “openedx” can draw graphics, and can auto grading / auto marking, correct or not the answer

@taufanbudiman Can you explain a bit more what you would like to do, exactly? It’s hard to tell if you only post with such brief sentences. Consider writing 1-2 paragraphs for each of your needs, describing the use case and context for these? You will be much more likely to get answers this way.

Edit: Also, please don’t repost the same message in new threads several times. If your initial post doesn’t get an answer, try to improve your initial post instead. I have merged your two identical threads.

how to “openedx” can draw graphics, and can auto grading / auto marking, correct or not the answer?

Thank you for your feedback.
so, I want to make a quiz using graphics. Example problems are below


then students will answer it by drawing a graph. and EDX will check whether the sketch is correct or not.

as in the following link https://isaacphysics.org/questions/graph_sketcher_trial.
can EDX solve this problem? or there are alternatives that I can use to make a quiz like the one above. I hope you understand my problem. Thank you

I’m not sure there is any such in-built tool in Open edX. Depending on the exact situation you might be able to get away with the drag and drop component.

That said, Open edX supports adding new types of content via XBlock plugins. You can see a list of such plugins here. Depending on your exact use case you might be able to use the xblock-vectordraw XBlock to accomplish something similar.

Thank you for your response. @xitij2000
I will try installing xbock-vectordraw

when I make a vector and check I get an error like this


what is wrong with my JSON?
my expected result value is
{
“Line3”:{
“length”: 21.52465369616217,
“length_errmsg”: “Panjang Line3 tidak sesuai.”,
“angle”: -68.21006531137387,
“angle_errmsg”:“kemiringan Line3 tidak sesuai”,
“coords”: [
[22,20],
[29.99005305039788, 0.013260171015003128]
],
“coords_errmsg”:“Koordinat Line3 tidak sesuai”
}
}
and my vector for line3 is
“angle”: -68.21006531137387,
“name”: “Line3”,
“render”: false,
“type”: “segment”,
“tip”: [
29.99005305039788,
0.013260171015003128
],
“tail”: [
22,
20
],
“length”: 21.52465369616217,
“coords”: [
[
22,
20
],
[
29.99005305039788,
0.013260171015003128
]
],
“length_factor”: 1,
“length_units”: “”,
“base_angle”: 0,
“description”: “Vector 3”

but, when I eliminate “angle” I don’t get that error