Format multiple paths for LLM context
Formats an array of paths, with each path on its own line showing the full hierarchy.
Array of paths, where each path is an array of nodes
Formatted multi-line string with all paths, one per line
const formatted = convertPathsForContext([[node1, node2], [node3, node4]]);// Returns:// "Path 0:: node2 -> node1// Path 1:: node4 -> node3" Copy
const formatted = convertPathsForContext([[node1, node2], [node3, node4]]);// Returns:// "Path 0:: node2 -> node1// Path 1:: node4 -> node3"
Format multiple paths for LLM context
Formats an array of paths, with each path on its own line showing the full hierarchy.