> For the complete documentation index, see [llms.txt](https://docs.hg.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hg.network/product-chan-pin-bang-zhu/cheng-xu-kai-fa.md).

# 程序开发

本章将讲述子图（ subgraph） 相关的开发流程与开发方法。

主要分为两部分：

&#x20;     第一部分是控制台的使用和部署开发流程。

&#x20;    首先从实际业务流程的角度讲解了 HyperGraph 的工作原理。然后就结合 HyperGraph 控制台以及 graph-cli 等工具，讲解了怎么添加子图项目、生成子图脚手架、添加子图代码，部署到远程服务器，进行数据索引查询的过程。

&#x20;    第二部分是子图开发、AssemblyScript开发、GraphQL 查询语言编写的参考文档。
