Skip to content

Update the 42 School Intra curriculum graph more easily. (AKA Holy Graph / Curriculum Galaxy)

Notifications You must be signed in to change notification settings

JemWritesCode/42CurriculumGraphMaker

Repository files navigation

42CurriculumGraphMaker

Update the 42Intra curriculum graph more easily. (AKA Holy Graph / Curriculum Galaxy)

You can use the graph maker here: https://editor.p5js.org/JemCope/present/QMqfaOHA

ExampleImage

Usage Tips:

This program allows you to draw out the graph and will give you a JSON file of project coordinates and project IDs.

  • Click on the map to create project nodes.

  • Click and drag to move project nodes around.

  • DELETE: To delete a project node, click it and press delete on the keyboard.

Currently in Development:

Jem: I am no longer working on developing this. It'd be a great project for someone to write a script to upload the JSON to Intra--the API has the correct functionality to do this, I just didn't have time to work on it further.

DONE Goal#1: File > Save Graph

Will save into a .txt file

DONE Goal#2: File > Upload Graph

You can upload the .txt file so you don't have to start from scratch every time.

Goal#3: File > Upload to 42Intra

Call the 42API to upload the new graph to the intra.

DONE Goal 3.1 Will need to add the projectID to the node array to be able to do this. This will probably necessitate a "Node Settings" side bar--something that was probably going to be needed for later features anyways.

Goal#4: Connections:

Draw the connections between nodes and get the coordinates. This will correlate to the "By" of Project Data in the 42API.

Format: The link path, under the 'project_id, x1, y1, x2, y2, ...' format. One child per line I think you can have an array of links for nodes with multiple connections.


Goal#5: Node Size

Change the size of the shape.

Goal#6: Additional Shapes

Rectangles, Diamonds, Triangles, etc

Goal#7: Multi-Select

Hold down Ctrl and select multiple nodes/connections so you can move entire sections at a time. This will be useful for updating entire branches.

Goal#8: Box Select / Magic Wand Select

Select all nodes inside of a box. It may be a good idea to also allow drawing a selection for better targeting.

About

Update the 42 School Intra curriculum graph more easily. (AKA Holy Graph / Curriculum Galaxy)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published