> For the complete documentation index, see [llms.txt](https://knowlg.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowlg.sunbird.org/learn/product-and-developer-guide/editors/collection-editor-v2/architecture.md).

# Architecture

### Overview

The below diagram represents the Collection Editor components.

<figure><img src="/files/5Tj9t73SSDImQb4etP23" alt=""><figcaption><p>Collection Editor</p></figcaption></figure>

### Editor Modules

<figure><img src="/files/1MR6VejtTIy2eavRYGQS" alt=""><figcaption><p>Editor Modules</p></figcaption></figure>

### Flow diagram

![Collection Editor V2 - Architecture](/files/8k6dpRQRogP8vCBY5eoF)

[<mark style="color:blue;">**Fancytree**</mark>](https://github.com/mar10/fancytree/wiki)\
The main purpose of using a fancy tree is to organize your assets in a multi-level hierarchy

[**Sunbird Players**](/learn/product-and-developer-guide/player/v1/players.md)\
The sunbird players are used to preview linked assets such as PDF, Video, EPUB, etc.

[**Common Form (SB-Form)**](https://ed.sunbird.org/use/learn-more/specifications/sunbirded-forms)\
Use Common Forms to define the dynamic layout of a page that contains fields and sections. What makes this dynamic is that you can show/hide the sections & fields based on certain criteria, which is not possible with static page layouts.

[**Telemetry SDK**](https://telemetry.sunbird.org/)\
This is used for generating the telemetry from the editor as a utility dependency library.

<mark style="color:purple;">**Common Service Lib**</mark>\
This is used to send the telemetry to the server.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowlg.sunbird.org/learn/product-and-developer-guide/editors/collection-editor-v2/architecture.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
