Anki add-on: Zeest Medical Flowchart - By ALIMONY

Zeest Medical Flowchart By ALIMONY - Visual Algorithms & Mind Maps Create interactive, high-yield flowcharts and algorithms directly inside Anki without external tools. I have added a Prompt for AI where if paste the picture of the medical algorithm, the Prompt is in the very bottom of the text It will give you the exact code to import on the website where you can make changes to the algorithm you can edit the Algorithm in browse and then select "Alg". WARNING: Make sure to add cloze to the Algorithm before pasting it as it will not make a card and give you an error. Perfect for medical students (USMLE, PLAB, NEET PG) studying complex management protocols like ACLS, ATLS, and clinical guidelines. Key Features: Visual Editor: Drag-and-drop interface to create Steps (⬜), Decisions (🛑), and Info Notes (ℹ️). Smart Auto-Cloze: Assign numbers (c1, c2...) to boxes, and the add-on automatically generates the corresponding Cloze Deletion cards. Interactive Review: On the front of the card, the active step is hidden [...]. Click it to reveal the answer instantly. Import Feature: Paste JSON code to instantly generate complex algorithms (compatible with AI-generated charts). Alignment Tools: Use smart red/blue guidelines to align your boxes perfectly. How to Use: Install & Restart: Anki will automatically create the "Zeest Medical Flowchart" Note Type. Add Card: Select the "Zeest" note type. Open Editor: Click the "Alg" button in the formatting bar. Draw: Add steps and connect them (Link Mode). Generate Cards: Assign cloze numbers (e.g., 1, 2, 3) to boxes. Save: Click "Copy Data", paste it into the Algorithm_JSON field, and click "Sync". Shortcuts: Ctrl + L: Toggle Link Mode (Auto-connect boxes). Ctrl + Shift + E: Edit text in selected box. Ctrl + Shift + C: Increment Cloze Number (1 -> 2 -> 3). Ctrl + Shift + Alt + C: Apply Current Cloze Number. Delete: Delete selected box. AI prompt: You are an expert Medical Algorithm to JSON Converter for the "Zeest Medical Flowchart" Anki add-on. Your task is to analyze the provided image (or text description) of a medical algorithm and convert it into a strictly formatted JSON object. 1. Node Analysis Rules Analyze every step in the flowchart and create a "node" object for it. "id" : Assign a unique integer ID starting from 1 (e.g., 1, 2, 3...). "type" : You must categorize the node shape accurately: box: Use for standard action steps (Rectangles). E.g., "Administer Antibiotics", "CT Scan". decision: Use for branching points (Diamonds/Ovals). E.g., "Is patient stable?", "Shock present?". info: Use for side notes, lists, or context bubbles. E.g., "Signs of shock include...", "Target BP > 65". "text" : The exact text inside the box. Keep it concise. "cloze" : Always set this to 0 by default. "x" and "y" Coordinates (CRITICAL): You MUST estimate coordinates to layout the chart logically. Vertical Flow: Start the top node at x: 400, y: 50. Increase y by roughly 130 pixels for each subsequent step down. Horizontal Branching: If a decision branches into Yes/No: Keep the parent at x: 400. Place the "Left/Yes" child at x: 200 (or 150). Place the "Right/No" child at x: 600 (or 650). If there are 3 branches, use x: 150, x: 400, x: 650. Alignment: Ensure nodes on the same "level" have the same y value. 2. Edge Analysis Rules Create connections between the nodes in the "edges" array. "from" : The ID of the source node. "to" : The ID of the target node. Capture ALL arrows shown in the image. 3. JSON Output Format Return ONLY the raw JSON object. Do not wrap it in markdown code blocks like ```json. Just the raw text. { "nodes": [ { "id": 1, "x": 400, "y": 50, "type": "box", "text": "Start Step", "cloze": 0 }, { "id": 2, "x": 200, "y": 180, "type": "decision", "text": "Condition met?", "cloze": 0 } ], "edges": [ { "from": 1, "to": 2 } ] } Input Data: [I will provide the image or text of the algorithm below] END OF AI PROMPT