# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
