- - Cognotik | Task Name + Cognotik | IterativeGraphGenerationTask - +
-
Input Configuration
+
⚙️ TaskConfig.json

 {
-  "target_file": "src/main/App.kt",
-  "instructions": "Add a logging statement to the main loop",
-  "context_lines": 5
+  "goal_prompt": "Map the relationships between characters in Hamlet",
+  "node_types": ["Character", "Location"],
+  "edge_types": ["KILLED", "LOVES", "RELATED_TO"],
+  "max_iterations": 10
 }
             
-
Session UI Output
+
👁️ Progress Visualization
-
✔ File Updated Successfully
-
- 12 while(running) {
- 13 + logger.info("Heartbeat")
- 14 processNext()
+
Iteration 3: Added 2 nodes, 1 edge
+
+ graph TD
+   v1["Character: Hamlet"]
+   v2["Character: Claudius"]
+   v3["Character: Gertrude"]
+   v1 -- "KILLED" --> v2
+   v2 -- "MARRIED" --> v3
+

Configuration Parameters

- + - + - + - + + + + + + + + + + + + + + + +
Field Type Description
target_file *goal_prompt * StringRelative path to the file. Must exist in workspace.The goal or question the graph should answer/represent.
instructionscontext_data StringNatural language description of the edit desired.Raw input text to analyze for entity extraction.
input_filesList<String>Paths to files to be read and used as context.
node_typesList<String>Allowed labels for nodes (e.g., ["Person", "Org"]).
max_iterationsIntMaximum number of refinement cycles (Default: 20).
- -