Add AST JSON representation for insurance API documentation

- Created a new JSON file containing nodes and edges representing the structure of the insurance API documentation.
- The nodes include various API endpoints, their labels, file types, and source locations.
- The edges define relationships between the nodes, indicating how they are connected within the documentation.
This commit is contained in:
hamed
2026-07-15 13:25:13 +03:30
parent d7cb9ea5a3
commit f1e9129a2c
12 changed files with 2121 additions and 726 deletions
+135 -117
View File
@@ -1,16 +1,16 @@
# Graph Report - clinicpro (2026-07-15)
## Corpus Check
- 898 files · ~639,403 words
- 903 files · ~641,656 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 10735 nodes · 15549 edges · 826 communities (646 shown, 180 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 343 edges (avg confidence: 0.8)
- 10773 nodes · 15639 edges · 836 communities (648 shown, 188 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 345 edges (avg confidence: 0.8)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `28032892`
- Built from commit: `d7cb9ea5`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -786,6 +786,7 @@
- [[_COMMUNITY_Community 784|Community 784]]
- [[_COMMUNITY_Community 785|Community 785]]
- [[_COMMUNITY_Community 786|Community 786]]
- [[_COMMUNITY_Community 787|Community 787]]
- [[_COMMUNITY_Community 788|Community 788]]
- [[_COMMUNITY_Community 789|Community 789]]
- [[_COMMUNITY_Community 790|Community 790]]
@@ -800,6 +801,8 @@
- [[_COMMUNITY_Community 799|Community 799]]
- [[_COMMUNITY_Community 800|Community 800]]
- [[_COMMUNITY_Community 801|Community 801]]
- [[_COMMUNITY_Community 802|Community 802]]
- [[_COMMUNITY_Community 803|Community 803]]
- [[_COMMUNITY_Community 804|Community 804]]
- [[_COMMUNITY_Community 805|Community 805]]
- [[_COMMUNITY_Community 806|Community 806]]
@@ -810,25 +813,32 @@
- [[_COMMUNITY_Community 811|Community 811]]
- [[_COMMUNITY_Community 812|Community 812]]
- [[_COMMUNITY_Community 813|Community 813]]
- [[_COMMUNITY_Community 814|Community 814]]
- [[_COMMUNITY_Community 815|Community 815]]
- [[_COMMUNITY_Community 816|Community 816]]
- [[_COMMUNITY_Community 817|Community 817]]
- [[_COMMUNITY_Community 818|Community 818]]
- [[_COMMUNITY_Community 819|Community 819]]
- [[_COMMUNITY_Community 820|Community 820]]
- [[_COMMUNITY_Community 821|Community 821]]
- [[_COMMUNITY_Community 822|Community 822]]
- [[_COMMUNITY_Community 823|Community 823]]
- [[_COMMUNITY_Community 824|Community 824]]
- [[_COMMUNITY_Community 825|Community 825]]
- [[_COMMUNITY_Community 826|Community 826]]
- [[_COMMUNITY_Community 827|Community 827]]
- [[_COMMUNITY_Community 828|Community 828]]
- [[_COMMUNITY_Community 829|Community 829]]
- [[_COMMUNITY_Community 830|Community 830]]
- [[_COMMUNITY_Community 831|Community 831]]
- [[_COMMUNITY_Community 832|Community 832]]
- [[_COMMUNITY_Community 833|Community 833]]
- [[_COMMUNITY_Community 834|Community 834]]
- [[_COMMUNITY_Community 835|Community 835]]
## God Nodes (most connected - your core abstractions)
1. `ApiTestCase` - 118 edges
2. `api` - 97 edges
1. `ApiTestCase` - 120 edges
2. `api` - 98 edges
3. `BaseController` - 90 edges
4. `useAuthStore` - 67 edges
5. `UserProfile` - 62 edges
@@ -853,7 +863,7 @@
## Import Cycles
- None detected.
## Communities (826 total, 180 thin omitted)
## Communities (836 total, 188 thin omitted)
### Community 0 - "Community 0"
Cohesion: 0.05
@@ -861,7 +871,7 @@ Nodes (43): Invoice, InvoiceItem, InvoiceSummaryModal(), STATUS_LABEL, Breadcrum
### Community 1 - "Community 1"
Cohesion: 0.03
Nodes (43): AddressData, AddrForm, addrSchema, AVATAR_COLORS, BookingMeta, CityOpt, DateOverrideData, DEFAULT_BOOKING_META (+35 more)
Nodes (42): AddressData, AddrForm, addrSchema, AVATAR_COLORS, BookingMeta, CityOpt, DateOverrideData, DEFAULT_BOOKING_META (+34 more)
### Community 2 - "Community 2"
Cohesion: 0.10
@@ -880,16 +890,16 @@ Cohesion: 0.06
Nodes (3): UserProfile, self, User
### Community 6 - "Community 6"
Cohesion: 0.09
Nodes (13): SettlementController, PatientFinancialsTest, SettlementRepository, WalletTransactionRepository, Settlement, JsonResponse, Request, User (+5 more)
Cohesion: 0.17
Nodes (8): SettlementController, SettlementRepository, Settlement, JsonResponse, Request, User, ManagerRegistry, User
### Community 7 - "Community 7"
Cohesion: 0.05
Nodes (11): DoctorServiceController, DoctorService, Clinic, DoctorServiceRepository, Collection, Doctor, self, User (+3 more)
### Community 8 - "Community 8"
Cohesion: 0.04
Nodes (35): AppointmentInfoModal(), ModalKind, PickedPatient, PickerOption, TransferReserveModal(), WalletChargeLink(), addMinutes(), NewAppointmentDrawer() (+27 more)
Cohesion: 0.06
Nodes (26): CoverageRow, Draft, KIND, TenantInsurance, ServiceTariffModal(), TariffResponse, TariffRow, EMPTY_ITEMS (+18 more)
### Community 9 - "Community 9"
Cohesion: 0.04
@@ -909,7 +919,7 @@ Nodes (47): Clinic Doctor Invitation API, DELETE `/api/v1/admin/clinic/invitatio
### Community 13 - "Community 13"
Cohesion: 0.03
Nodes (90): get, post, renderDrawer(), get, get, patch, usePatient(), useUpdatePatient() (+82 more)
Nodes (102): get, post, renderDrawer(), get, get, patch, usePatient(), useUpdatePatient() (+94 more)
### Community 14 - "Community 14"
Cohesion: 0.10
@@ -920,8 +930,8 @@ Cohesion: 0.25
Nodes (7): PaymentController, Appointment, JsonResponse, Payment, Request, Response, User
### Community 16 - "Community 16"
Cohesion: 0.06
Nodes (8): PatientSession, SmsWallet, LogPruneService, Appointment, Collection, PatientRecord, self, SessionService
Cohesion: 0.09
Nodes (6): PatientSession, Appointment, Collection, PatientRecord, self, SessionService
### Community 17 - "Community 17"
Cohesion: 0.05
@@ -940,12 +950,12 @@ Cohesion: 0.12
Nodes (5): AdminApiController, RepresentationRepository, JsonResponse, Request, StreamedResponse
### Community 21 - "Community 21"
Cohesion: 0.06
Nodes (38): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, dateStrToTs() (+30 more)
Cohesion: 0.03
Nodes (62): grid, PatientFormOptions, patientFormSchema, PatientFormValues, Props, baseValues, options, dateStrToTs() (+54 more)
### Community 22 - "Community 22"
Cohesion: 0.15
Nodes (9): RatingController, Like, LikeRepository, JsonResponse, Request, User, Comment, ManagerRegistry (+1 more)
Cohesion: 0.29
Nodes (4): RatingController, JsonResponse, Request, User
### Community 23 - "Community 23"
Cohesion: 0.05
@@ -964,8 +974,8 @@ Cohesion: 0.24
Nodes (4): InsuranceController, JsonResponse, Request, User
### Community 27 - "Community 27"
Cohesion: 0.05
Nodes (40): 55. 🟢 `GET` all tag, 56. 🟢 `GET` supplementary_insurance, 57. 🟢 `GET` categories list, 58. 🟢 `GET` all state, 59. 🟢 `GET` all city, 60. 🟢 `GET` all specially doctor, 61. 🔵 `POST` post, 62. 🟡 `PATCH` patch (+32 more)
Cohesion: 0.06
Nodes (35): 55. 🟢 `GET` all tag, 56. 🟢 `GET` supplementary_insurance, 57. 🟢 `GET` categories list, 58. 🟢 `GET` all state, 59. 🟢 `GET` all city, 60. 🟢 `GET` all specially doctor, 61. 🔵 `POST` post, 63. 🔴 `DELETE` DELETE (+27 more)
### Community 28 - "Community 28"
Cohesion: 0.06
@@ -988,8 +998,8 @@ Cohesion: 0.06
Nodes (32): 10. Modal / Dialog, 11. Toast Notifications, 12. Empty States & Loading, 13. Page Header (هر صفحه), 14. تکنولوژی Stack, 15. Responsive Breakpoints, 16. Dark Mode (اختیاری — فاز دوم), 17. نمونه رنگ‌بندی صفحه داشبورد (+24 more)
### Community 33 - "Community 33"
Cohesion: 0.04
Nodes (50): cn(), formatDateTime(), iranMobileOptionalSchema, iranMobileSchema, isValidIranMobile(), maskMobile(), sanitizeMobileInput(), toDate() (+42 more)
Cohesion: 0.08
Nodes (16): ClinicAddress, ClinicDoctorItem, ClinicInvitation, EditForm, editSchema, HUES_LIST, INV_STATUS_MAP, IRAN_CENTER (+8 more)
### Community 34 - "Community 34"
Cohesion: 0.06
@@ -1008,16 +1018,16 @@ Cohesion: 0.06
Nodes (31): API endpoint موجود برای آدرس دکتر:, `DELETE /api/v1/clinic/{clinicUuid}/address/{addressUuid}` — حذف, `docs/api/appointment-settings.md`:, `docs/api/clinic.md`:, Endpoint موجود (workaround که حذف می‌شود):, Entity `DoctorAddress`:, Frontend موجود (`DoctorDetailPage.tsx`):, `GET /api/v1/clinic/{clinicUuid}/addresses` — لیست آدرس‌ها (+23 more)
### Community 38 - "Community 38"
Cohesion: 0.25
Nodes (8): Authentication API, DELETE `/api/v1/notification-mobile/{target}`, Errors, Notification Mobile (OTP), POST `/oauth/logout`, Request Body, Response `200`, Response `200`
Cohesion: 0.22
Nodes (9): Authentication API, DELETE `/api/v1/notification-mobile/{target}`, Errors, Errors, Notification Mobile (OTP), POST `/oauth/token`, Request Body, Response `200` (+1 more)
### Community 39 - "Community 39"
Cohesion: 0.12
Nodes (5): DoctorAddress, City, Doctor, Province, self
### Community 40 - "Community 40"
Cohesion: 0.09
Nodes (4): User, PasswordAuthenticatedUserInterface, self, UserInterface
Cohesion: 0.06
Nodes (7): AppointmentUpdateTest, SmsWallet, User, LogPruneService, PasswordAuthenticatedUserInterface, self, UserInterface
### Community 41 - "Community 41"
Cohesion: 0.11
@@ -1052,8 +1062,8 @@ Cohesion: 0.11
Nodes (4): Payment, Appointment, self, User
### Community 49 - "Community 49"
Cohesion: 0.06
Nodes (29): appt, get, openMenu(), patch, applyAppointmentFilters(), AppointmentFilters, EMPTY_FILTERS, Option (+21 more)
Cohesion: 0.03
Nodes (48): AppointmentInfoModal(), ModalKind, PickedPatient, PickerOption, appt, get, openMenu(), patch (+40 more)
### Community 50 - "Community 50"
Cohesion: 0.07
@@ -1069,7 +1079,7 @@ Nodes (26): الزامات UI, باگ‌فیکس صفحه نوبت‌ها, با
### Community 53 - "Community 53"
Cohesion: 0.07
Nodes (17): EntityInsurancePricing, AppLogRepository, ClaimItemRepository, DoctorClaimRequestRepository, DoctorInsuranceRepository, EntityInsurancePricingRepository, PreRegistrationRepository, SiteConfigRepository (+9 more)
Nodes (18): AppLogRepository, ClaimItemRepository, ClinicStaffRepository, DoctorClaimRequestRepository, InvoiceItemRepository, PreRegistrationRepository, ProvinceRepository, ServiceEntityRepository (+10 more)
### Community 54 - "Community 54"
Cohesion: 0.10
@@ -1105,11 +1115,11 @@ Nodes (9): Create Patient Record, Create Session, Endpoints, Get Patient Record,
### Community 62 - "Community 62"
Cohesion: 0.06
Nodes (27): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), RoleRoute(), queryClient, toastStyle, DoctorProfilePage(), AdminDoctor (+19 more)
Nodes (29): ALLOWED_ROLES, PrivateRoute(), PublicRoute(), RoleRoute(), queryClient, toastStyle, AdminLayout(), Topbar() (+21 more)
### Community 63 - "Community 63"
Cohesion: 0.02
Nodes (97): PaginatedResponse, STATUS_FILTERS, CityForm, citySchema, ImportError, InsuranceForm, insuranceSchema, LogoUploadField() (+89 more)
Nodes (100): PaginatedResponse, STATUS_FILTERS, CityForm, citySchema, ImportError, InsuranceForm, insuranceSchema, LogoUploadField() (+92 more)
### Community 64 - "Community 64"
Cohesion: 0.19
@@ -1156,8 +1166,8 @@ Cohesion: 0.14
Nodes (5): DoctorSecretary, Clinic, Doctor, self, User
### Community 77 - "Community 77"
Cohesion: 0.15
Nodes (6): RepresentationActionController, InputValidator, JsonResponse, Representation, Request, User
Cohesion: 0.24
Nodes (5): RepresentationActionController, JsonResponse, Representation, Request, User
### Community 78 - "Community 78"
Cohesion: 0.12
@@ -1185,7 +1195,7 @@ Nodes (30): devDependencies, @babel/core, @babel/preset-env, @babel/preset-react
### Community 86 - "Community 86"
Cohesion: 0.04
Nodes (19): AppointmentCreateReserveTest, AppointmentExpiryServiceTest, LowTierFixesTest, SendCodeMobileRateLimitTest, ClaimsListPaginationTest, CaptchaFlowTest, ServiceItemMultiStaffTest, ServiceItemStaffOwnershipTest (+11 more)
Nodes (18): AppointmentExpiryServiceTest, LowTierFixesTest, SendCodeMobileRateLimitTest, ClaimsListPaginationTest, CaptchaFlowTest, ServiceItemDeleteCleanupTest, ServiceItemMultiStaffTest, ServiceItemStaffOwnershipTest (+10 more)
### Community 87 - "Community 87"
Cohesion: 0.10
@@ -1208,7 +1218,7 @@ Cohesion: 0.10
Nodes (20): DELETE `/api/v1/admin/users/{uuid}`, Errors, Errors, GET `/api/v1/admin/users`, GET `/api/v1/admin/users/stats`, GET `/api/v1/admin/users/{uuid}`, POST `/api/v1/admin/users/{uuid}/status`, PUT `/api/v1/admin/users/{uuid}` (+12 more)
### Community 92 - "Community 92"
Cohesion: 0.09
Cohesion: 0.10
Nodes (21): Bulk import / export, DELETE `/api/v1/admin/doctor-service/{id}`, Doctor Service API, Errors, Errors, Errors, Errors, GET `/api/v1/admin/doctor-services` (+13 more)
### Community 93 - "Community 93"
@@ -1248,7 +1258,7 @@ Cohesion: 0.10
Nodes (19): Backend — endpoint اشتراک, Frontend — App.tsx, Frontend — authStore, Frontend — Sidebar, اعمال محدودیت‌های اشتراک در پنل ادمین (Frontend Gate), ترتیب اجرا, زمینه, فایل‌های مرتبط (+11 more)
### Community 102 - "Community 102"
Cohesion: 0.07
Cohesion: 0.08
Nodes (26): Bulk import / export, DELETE `/api/v1/admin/tag/{id}`, DELETE `/api/v1/tenant-tag/{uuid}`, Errors, Errors, Errors, Errors, Errors (+18 more)
### Community 103 - "Community 103"
@@ -1273,7 +1283,7 @@ Nodes (6): AppointmentController, Appointment, Doctor, JsonResponse, Request, Us
### Community 108 - "Community 108"
Cohesion: 0.10
Nodes (13): CaptchaController, BaseController, CategoryController, CategoryImportController, DoctorImportController, JsonResponse, JsonResponse, Request (+5 more)
Nodes (13): CaptchaController, BaseController, CategoryController, SiteConfigController, SiteContextController, JsonResponse, JsonResponse, Request (+5 more)
### Community 109 - "Community 109"
Cohesion: 0.29
@@ -1480,8 +1490,8 @@ Cohesion: 0.10
Nodes (19): Adding an endpoint (one domain), Backend (`composer.json`), Backend endpoint & model patterns, Backend — `src/<Domain>/`, Build entry points (`webpack.config.js`), Category / bundle system, Commands (prefix with `ddev exec`), Conventions (+11 more)
### Community 163 - "Community 163"
Cohesion: 0.13
Nodes (14): autoload, autoload-dev, psr-4, psr-4, conflict, symfony/symfony, description, license (+6 more)
Cohesion: 0.11
Nodes (18): autoload, autoload-dev, psr-4, psr-4, conflict, symfony/symfony, description, extra (+10 more)
### Community 165 - "Community 165"
Cohesion: 0.13
@@ -1500,8 +1510,8 @@ Cohesion: 0.10
Nodes (20): api.ir (استعلام هویت — Shahkar / IbanMatch), اتصال به دیتابیس‌های مستقل (الزامی), اسرار (الزامی — قبل از اولین دیپلوی), امنیت و منابع, بررسی سلامت, دامنه‌ها و CORS, دیپلوی‌های بعدی, راهنمای دیپلوی ClinicPro (Coolify + Docker Compose) (+12 more)
### Community 169 - "Community 169"
Cohesion: 0.13
Nodes (12): AbstractAuthenticator, AuthenticationException, ExceptionSubscriber, SecurityHeadersSubscriber, EventSubscriberInterface, ExceptionEvent, Passport, ResponseEvent (+4 more)
Cohesion: 0.27
Nodes (7): AbstractAuthenticator, AuthenticationException, Passport, PasswordAuthenticator, Request, Response, TokenInterface
### Community 170 - "Community 170"
Cohesion: 0.13
@@ -1640,8 +1650,8 @@ Cohesion: 0.21
Nodes (4): SeedDemoDataCommand, InputInterface, OutputInterface, SymfonyStyle
### Community 206 - "Community 206"
Cohesion: 0.08
Nodes (14): MellatGateway, MockGateway, SepGateway, SoapClient, PaymentGatewayInterface, PaymentInitResult, PaymentRefundResult, PaymentVerifyResult (+6 more)
Cohesion: 0.06
Nodes (16): GatewayFactory, MellatGateway, MockGateway, SepGateway, SepGateway, SoapClient, PaymentGatewayInterface, PaymentInitResult (+8 more)
### Community 207 - "Community 207"
Cohesion: 0.15
@@ -1713,7 +1723,7 @@ Nodes (10): Bulk import / export, DELETE `/api/v1/admin/insurance/{id}`, DELETE
### Community 229 - "Community 229"
Cohesion: 0.14
Nodes (13): Errors, GET `/api/v1/representation/{uuid}/dashboard/monthly`, GET `/api/v1/representation/{uuid}/dashboard/yearly`, GET `/api/v1/site-context`, Path Parameters, Query Parameters, Query Parameters, Query Parameters (+5 more)
Nodes (13): DELETE `/api/v1/representation/{uuid}`, Errors, Errors, GET `/api/v1/representation/{uuid}/dashboard/monthly`, GET `/api/v1/site-context`, Path Parameters, Query Parameters, Query Parameters (+5 more)
### Community 230 - "Community 230"
Cohesion: 0.35
@@ -1932,7 +1942,7 @@ Cohesion: 0.07
Nodes (24): CalendarIcon(), CardIcon(), CardTickIcon(), ChevronDownIcon(), S, UserAddIcon(), ApptRow, HEAD (+16 more)
### Community 287 - "Community 287"
Cohesion: 0.31
Cohesion: 0.27
Nodes (3): TenantInsuranceRepository, ManagerRegistry, TenantInsurance
### Community 288 - "Community 288"
@@ -1960,8 +1970,8 @@ Cohesion: 0.20
Nodes (9): AdminApiController — dashboardCharts با بازه زمانی, DashboardController — اضافه کردن from/to, date range selector component:, تغییر Backend, تغییر Frontend — DashboardPage.tsx, فایل‌هایی که تغییر می‌کنند, معماری — تسک ۱۶: داشبورد هوشمند, نصب dependency: (+1 more)
### Community 294 - "Community 294"
Cohesion: 0.21
Nodes (5): PatientAttachmentTest, PatientAttachment, PatientAttachmentRepository, ManagerRegistry, PatientRecord
Cohesion: 0.33
Nodes (4): PatientAttachment, PatientAttachmentRepository, ManagerRegistry, PatientRecord
### Community 295 - "Community 295"
Cohesion: 0.20
@@ -2001,7 +2011,7 @@ Nodes (16): آماده‌سازی پروژه ClinicPro برای دیپلوی ر
### Community 304 - "Community 304"
Cohesion: 0.22
Nodes (9): 30. 🟢 `GET` get 🆕, 33. 🔵 `POST` image_clinic, 36. 🟢 `GET` get my rate, 6. کلینیک (Clinic), هدرهای اضافی, هدرهای اضافی, پاسخ‌ها, پاسخ‌ها (+1 more)
Nodes (9): 29. 🟢 `GET` clinic list 🆕, 30. 🟢 `GET` get 🆕, 36. 🟢 `GET` get my rate, 6. کلینیک (Clinic), هدرهای اضافی, پارامترهای Query, پاسخ‌ها, پاسخ‌ها (+1 more)
### Community 306 - "Community 306"
Cohesion: 0.07
@@ -2104,8 +2114,8 @@ Cohesion: 0.22
Nodes (8): Query های جدید, بیماران منحصربه‌فرد در بازه, درآمد بر اساس روز (از patient_sessions), فروش اشتراک بر اساس پنل (admin), نوبت‌ها بر اساس روز (admin chart), نکات مهم, هیچ migration لازم نیست, پایگاه داده — تسک ۱۶: داشبورد هوشمند
### Community 333 - "Community 333"
Cohesion: 0.04
Nodes (44): DELETE `/api/v1/clinic-pro/doctor-address/{id}`, DELETE `/api/v1/doctor/{uuid}`, Doctor API, Errors, Errors, Errors, Errors, Errors (+36 more)
Cohesion: 0.05
Nodes (39): DELETE `/api/v1/clinic-pro/doctor-address/{id}`, DELETE `/api/v1/doctor/{uuid}`, Doctor API, Errors, Errors, Errors, Errors, Errors (+31 more)
### Community 334 - "Community 334"
Cohesion: 0.25
@@ -2364,16 +2374,16 @@ Cohesion: 0.27
Nodes (8): MessageBusInterface, MockObject, SmsServiceLookupOnlyTest, SmsLogRepository, SmsMessageTemplateRepository, SmsService, SmsTextResolver, KavehNegarProvider
### Community 410 - "Community 410"
Cohesion: 0.12
Nodes (12): Contract, InsuranceOption, KIND_LABEL, rialToToman(), FormValues, schema, SectionDef, SectionId (+4 more)
Cohesion: 0.06
Nodes (40): FreeVisitPrice(), Pricing, buildInsurancePayload(), Contract, contractToForm(), EMPTY_FORM, InsuranceFormValues, InsuranceModal() (+32 more)
### Community 414 - "Community 414"
Cohesion: 0.10
Nodes (20): edge cases, خلاصهٔ خطاها و اولویت, راه‌حل, راه‌حل, راه‌حل, راه‌حل, رفع خطاهای لاگ سرور (production) — ۱۴۰۵/۰۴/۲۰, ریشه (+12 more)
### Community 416 - "Community 416"
Cohesion: 0.06
Nodes (26): useSubscription(), AdminLayout(), avatarBg(), buildSections(), HUES, Props, ROLE_LABELS, Section (+18 more)
Cohesion: 0.11
Nodes (6): ClinicDoctor, EMPTY_PERMISSIONS, FormState, ModalMode, PERMISSION_SECTIONS, PermSection
### Community 418 - "Community 418"
Cohesion: 0.17
@@ -2384,12 +2394,12 @@ Cohesion: 0.12
Nodes (15): راه‌حل, راه‌حل, راه‌حل, رفع زوم نقشه در افزودن آدرس + کپچا و موبایل در claim + حذف پروفایل توسط مالک, ریشه‌ها, زمینه, فایل‌های مرتبط, نکات مهم (+7 more)
### Community 424 - "Community 424"
Cohesion: 0.03
Nodes (76): FreeVisitPrice(), Pricing, TauriStatCards(), usePaymentConfig(), formatNumber(), formatRial(), tomanToRial(), ClinicDetailPage() (+68 more)
Cohesion: 0.04
Nodes (65): TauriStatCards(), usePaymentConfig(), formatNumber(), formatRial(), ClinicDetailPage(), AdminCharts, AdminDashboard(), AdminRecent (+57 more)
### Community 426 - "Community 426"
Cohesion: 0.06
Nodes (31): EMPTY, PatientFilters, PricingInsurance, TenantTag, PatientTagsCell(), TenantTag, PaymentConfig, PaymentGatewayInfo (+23 more)
Cohesion: 0.08
Nodes (22): EMPTY, PatientFilters, PricingInsurance, TenantTag, PatientTagsCell(), TenantTag, PaymentConfig, PaymentGatewayInfo (+14 more)
### Community 428 - "Community 428"
Cohesion: 0.31
@@ -2409,11 +2419,11 @@ Nodes (7): ErrorCodes, PatientController, JsonResponse, PatientRecord, PatientSe
### Community 435 - "Community 435"
Cohesion: 0.10
Nodes (16): Command, CancelExpiredAppointmentsCommand, CreateAdminCommand, PruneLogsCommand, SeedCategoriesCommand, SeedSmsMessageTemplatesCommand, InputInterface, OutputInterface (+8 more)
Nodes (16): Command, BackfillSurrogateRoleCommand, CancelExpiredAppointmentsCommand, PruneLogsCommand, SeedCategoriesCommand, SeedSmsMessageTemplatesCommand, InputInterface, OutputInterface (+8 more)
### Community 436 - "Community 436"
Cohesion: 0.05
Nodes (45): BANK_KEY, BankAccount, BankAccountInput, Pos, POS_KEY, PosInput, useBankAccounts(), useCreateBankAccount() (+37 more)
Cohesion: 0.12
Nodes (20): BANK_KEY, BankAccount, BankAccountInput, Pos, POS_KEY, PosInput, useBankAccounts(), useCreateBankAccount() (+12 more)
### Community 439 - "Community 439"
Cohesion: 0.17
@@ -2560,8 +2570,8 @@ Cohesion: 0.20
Nodes (9): Backend Audit Backlog — ClinicPro, ☐ CRITICAL, ✅ DONE (committed on backend-audit), ☐ EPICS (design debt — cross-repo, defer; do NOT quick-fix), ☐ HIGH, ☐ LOW, ☐ MEDIUM, Progress (this audit session) (+1 more)
### Community 494 - "Community 494"
Cohesion: 0.43
Nodes (3): InvoiceItemRepository, InvoiceItem, ManagerRegistry
Cohesion: 0.06
Nodes (20): Claim, ClaimItem, DebtRow, InsuranceOption, KIND_LABEL, STATUS_FILTERS, STATUS_META, DoctorClaim (+12 more)
### Community 495 - "Community 495"
Cohesion: 0.12
@@ -2580,8 +2590,8 @@ Cohesion: 0.18
Nodes (10): license, private, scripts, build, dev, dev-server, test, test:cov (+2 more)
### Community 499 - "Community 499"
Cohesion: 0.17
Nodes (5): UniqueConstraintsTest, FinancialBreakdown, FinancialBreakdownRepository, ManagerRegistry, Payment
Cohesion: 0.15
Nodes (6): UniqueConstraintsTest, FinancialBreakdown, FinancialBreakdownRepository, FinancialBreakdownIntegrityTest, ManagerRegistry, Payment
### Community 500 - "Community 500"
Cohesion: 0.40
@@ -2661,7 +2671,7 @@ Nodes (4): ساختار فایل‌ها, معماری — تسک ۱۶: ماژو
### Community 522 - "Community 522"
Cohesion: 0.23
Nodes (5): AbstractMigration, Schema, Version20260615203529, Schema, Version20260711120000
Nodes (5): AbstractMigration, Schema, Version20260609134741, Schema, Version20260615203529
### Community 523 - "Community 523"
Cohesion: 0.15
@@ -2792,8 +2802,8 @@ Cohesion: 0.50
Nodes (4): GET /api/v1/sms/wallet/balance, GET /api/v1/sms/wallet/logs, POST /api/v1/sms/wallet/charge, SMS Wallet
### Community 561 - "Community 561"
Cohesion: 0.39
Nodes (3): ProvinceRepository, ManagerRegistry, Province
Cohesion: 0.15
Nodes (6): PatientFinancialsTest, WalletTransactionRepository, WalletTransactionsPaginationTest, ManagerRegistry, User, WalletTransaction
### Community 563 - "Community 563"
Cohesion: 0.67
@@ -2892,8 +2902,8 @@ Cohesion: 0.67
Nodes (3): Errors, POST `/api/v1/sms/template/{uuid}/submit`, Response `200`
### Community 602 - "Community 602"
Cohesion: 0.10
Nodes (19): InvoiceRowStatus, MY_PAYMENTS_LIMIT, PatientInvoiceRow, PatientInvoicesPayload, PaymentFilters, PaymentRow, PaymentRowStatus, get (+11 more)
Cohesion: 0.06
Nodes (32): InvoiceRowStatus, MY_PAYMENTS_LIMIT, PatientInvoiceRow, PatientInvoicesPayload, PaymentFilters, PaymentRow, PaymentRowStatus, get (+24 more)
### Community 603 - "Community 603"
Cohesion: 0.67
@@ -2920,12 +2930,12 @@ Cohesion: 0.67
Nodes (3): بک‌اند, فرانت‌اند, وضعیت فعلی کد (مهم — قبل از تغییر بخوان)
### Community 625 - "Community 625"
Cohesion: 0.17
Nodes (6): DoctorClaimRequest, DoctorClaimService, PersianTextTest, Doctor, User, PersianText
Cohesion: 0.42
Nodes (4): DoctorClaimRequest, DoctorClaimService, Doctor, User
### Community 626 - "Community 626"
Cohesion: 0.36
Nodes (4): SiteConfigController, JsonResponse, Request, User
Cohesion: 0.23
Nodes (5): ExceptionSubscriber, SecurityHeadersSubscriber, EventSubscriberInterface, ExceptionEvent, ResponseEvent
### Community 633 - "Community 633"
Cohesion: 0.32
@@ -2952,8 +2962,8 @@ Cohesion: 0.14
Nodes (13): اصلاح فیلتر شهر/استان در لیست عمومی پزشکان (`GET /api/v1/doctors`), زمینه, فایل‌های مرتبط, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+5 more)
### Community 648 - "Community 648"
Cohesion: 0.16
Nodes (6): UserProfileDemographicsTest, ErrorCodesTest, KavehNegarProviderTest, TestCase, UserProfile, KavehNegarProvider
Cohesion: 0.17
Nodes (6): MellatGateway, MellatGatewayTest, ErrorCodesTest, KavehNegarProviderTest, TestCase, KavehNegarProvider
### Community 649 - "Community 649"
Cohesion: 0.14
@@ -2963,10 +2973,6 @@ Nodes (13): زمینه, فایل‌های مرتبط, مشکل / هدف, نکا
Cohesion: 0.14
Nodes (13): زمینه, فایل‌های مرتبط, قیمت هر پیامک در تنظیمات + رفع تنظیمات ارسال پیامک کیف‌پول, مشکل / هدف, نکات مهم, وضعیت فعلی, وظایف, پروژه (+5 more)
### Community 652 - "Community 652"
Cohesion: 0.47
Nodes (3): SiteContextController, JsonResponse, Request
### Community 654 - "Community 654"
Cohesion: 0.31
Nodes (6): DashboardController, Clinic, DoctorSecretary, JsonResponse, Request, User
@@ -3084,8 +3090,8 @@ Cohesion: 0.50
Nodes (4): Errors, GET `/oauth/userinfo`, Headers, Response `200`
### Community 717 - "Community 717"
Cohesion: 0.12
Nodes (6): ServiceItemDeleteCleanupTest, ServiceCoverageNPlusOneTest, TenantInsuranceCleanupTest, TenantServiceCoverageRepository, ManagerRegistry, TenantServiceCoverage
Cohesion: 0.11
Nodes (8): EntityInsurancePricing, TenantInsuranceCleanupTest, EntityInsurancePricingRepository, TenantServiceCoverageRepository, TenantInsuranceCleanupService, ManagerRegistry, ManagerRegistry, TenantServiceCoverage
### Community 718 - "Community 718"
Cohesion: 0.50
@@ -3096,8 +3102,8 @@ Cohesion: 0.53
Nodes (3): PaymentLog, PaymentLogRepository, ManagerRegistry
### Community 725 - "Community 725"
Cohesion: 0.39
Nodes (3): ClinicStaffRepository, ClinicStaff, ManagerRegistry
Cohesion: 0.33
Nodes (5): Like, LikeRepository, Comment, ManagerRegistry, User
### Community 726 - "Community 726"
Cohesion: 0.29
@@ -3135,17 +3141,13 @@ Nodes (4): GET `/api/v1/admin/secretaries`, Query Parameters, Response `200`, Se
Cohesion: 0.50
Nodes (4): Errors, POST `/api/v1/auth/switch-context`, Request Body, Response `200`
### Community 748 - "Community 748"
Cohesion: 0.38
Nodes (3): BackfillSurrogateRoleCommand, InputInterface, OutputInterface
### Community 750 - "Community 750"
Cohesion: 0.50
Nodes (4): GET `/api/v1/admin/settlements`, Query Parameters, Response `200`, Settlement Management
### Community 751 - "Community 751"
Cohesion: 0.14
Nodes (7): HealthController, RepositoryClassMappingTest, EntityManagerInterface, KernelTestCase, TenantInsuranceCleanupService, DbLoggerTest, JsonResponse
Cohesion: 0.19
Nodes (6): HealthController, RepositoryClassMappingTest, EntityManagerInterface, KernelTestCase, DbLoggerTest, JsonResponse
### Community 752 - "Community 752"
Cohesion: 0.50
@@ -3220,8 +3222,8 @@ Cohesion: 0.40
Nodes (3): Props, StatTone, TONE
### Community 776 - "Community 776"
Cohesion: 0.50
Nodes (4): Errors, POST `/oauth/token`, Request Body, Response `200`
Cohesion: 0.38
Nodes (3): CreateAdminCommand, InputInterface, OutputInterface
### Community 777 - "Community 777"
Cohesion: 0.67
@@ -3232,8 +3234,8 @@ Cohesion: 0.43
Nodes (5): BeforeInstallPromptEvent, usePwaInstall(), PwaInstallBanner(), detectIOS(), PwaLoginCard()
### Community 779 - "Community 779"
Cohesion: 0.50
Nodes (4): extra, symfony, allow-contrib, require
Cohesion: 0.43
Nodes (3): CategoryImportController, JsonResponse, Request
### Community 780 - "Community 780"
Cohesion: 0.38
@@ -3244,32 +3246,24 @@ Cohesion: 0.67
Nodes (3): POST `/api/v1/admin/sms/template/{uuid}/approve`, Request Body (`application/json`), Response `200`
### Community 783 - "Community 783"
Cohesion: 0.67
Nodes (3): DELETE `/api/v1/representation/{uuid}`, Errors, Response `200`
### Community 784 - "Community 784"
Cohesion: 0.67
Nodes (3): 29. 🟢 `GET` clinic list 🆕, پارامترهای Query, پاسخ‌ها
Cohesion: 0.43
Nodes (4): DoctorImportController, JsonResponse, Request, User
### Community 786 - "Community 786"
Cohesion: 0.23
Nodes (4): GatewayFactory, MellatGateway, MellatGatewayTest, SepGateway
Cohesion: 0.48
Nodes (3): DoctorInsuranceRepository, DoctorInsurance, ManagerRegistry
### Community 788 - "Community 788"
Cohesion: 0.43
Nodes (3): SmsTemplateRepository, SmsTemplate, ManagerRegistry
### Community 789 - "Community 789"
Cohesion: 0.17
Cohesion: 0.16
Nodes (5): Authentication, ClinicPro — API Documentation Index, Error Code Reference, Modules, Standard Response Envelope
### Community 791 - "Community 791"
Cohesion: 0.16
Nodes (4): RanginehProvider, SmsService, SendSmsMessage, SmsProviderInterface
### Community 792 - "Community 792"
Cohesion: 0.40
Nodes (5): Errors, PATCH `/api/v1/clinic-pro/doctor-address/{id}`, Path Parameters, Request Body, Response `200`
Cohesion: 0.32
Nodes (3): SmsService, SendSmsMessage, SmsProviderInterface
### Community 793 - "Community 793"
Cohesion: 0.40
@@ -3323,10 +3317,18 @@ Nodes (5): 37. 🔵 `POST` post, Request Body, مثال Request, هدرهای ا
Cohesion: 0.50
Nodes (3): Altcha(), AltchaProps, IntrinsicElements
### Community 814 - "Community 814"
Cohesion: 0.40
Nodes (5): Errors, GET `/api/v1/clinic/my-doctor/{doctorUuid}`, Path Parameters, Response `200`, Schedule Fields Notes
### Community 816 - "Community 816"
Cohesion: 0.67
Nodes (3): GET `/api/v1/billing/tenant-insurances/{uuid}/service-coverage`, PUT `/api/v1/billing/tenant-insurances/{uuid}/service-coverage`, TenantServiceCoverage — پوشش خدمت تحت یک قرارداد بیمه (فاز ۲)
### Community 817 - "Community 817"
Cohesion: 0.40
Nodes (5): Errors, PATCH `/api/v1/doctor/{uuid}`, Path Parameters, Request Body (`application/json`), Response `200`
### Community 818 - "Community 818"
Cohesion: 0.67
Nodes (3): GET `/api/v1/insurance-pricing`, Response `200`, خطاها
@@ -3347,6 +3349,10 @@ Nodes (3): POST `/api/v1/admin/insurance/{id}/upload-logo`, Request, Response `2
Cohesion: 0.50
Nodes (4): Errors, GET `/api/v1/admin/insurances`, Query Parameters, Response `200`
### Community 823 - "Community 823"
Cohesion: 0.40
Nodes (5): 62. 🟡 `PATCH` patch, Request Body, مثال Request, هدرهای اضافی, پاسخ‌ها
### Community 825 - "Community 825"
Cohesion: 0.50
Nodes (4): 38. 🟢 `GET` Unapproved comments, هدرهای اضافی, پارامترهای Query, پاسخ‌ها
@@ -3367,6 +3373,18 @@ Nodes (4): 45. 🔵 `POST` post, مثال Request, هدرهای اضافی, پا
Cohesion: 0.50
Nodes (4): 46. 🟡 `PATCH` patch, مثال Request, هدرهای اضافی, پاسخ‌ها
### Community 831 - "Community 831"
Cohesion: 0.67
Nodes (3): POST `/oauth/logout`, Request Body, Response `200`
### Community 832 - "Community 832"
Cohesion: 0.67
Nodes (3): GET `/api/v1/representation/{uuid}/dashboard/yearly`, Query Parameters, Response `200`
### Community 833 - "Community 833"
Cohesion: 0.67
Nodes (3): 33. 🔵 `POST` image_clinic, هدرهای اضافی, پاسخ‌ها
### Community 834 - "Community 834"
Cohesion: 0.67
Nodes (3): 34. 🔵 `POST` image logo, هدرهای اضافی, پاسخ‌ها
@@ -3376,24 +3394,24 @@ Cohesion: 0.67
Nodes (3): 42. 🔴 `DELETE` delete, هدرهای اضافی, پاسخ‌ها
## Knowledge Gaps
- **4405 isolated node(s):** `ALLOWED_ROLES`, `get`, `patch`, `appt`, `ModalKind` (+4400 more)
- **4407 isolated node(s):** `ALLOWED_ROLES`, `get`, `patch`, `appt`, `ModalKind` (+4402 more)
These have ≤1 connection - possible missing edges or undocumented components.
- **180 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
- **188 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `Altcha` connect `Community 367` to `Community 813`, `Community 485`?**
_High betweenness centrality (0.090) - this node is a cross-community bridge._
_High betweenness centrality (0.093) - this node is a cross-community bridge._
- **Why does `BaseController` connect `Community 108` to `Community 6`, `Community 7`, `Community 265`, `Community 138`, `Community 779`, `Community 139`, `Community 14`, `Community 654`, `Community 783`, `Community 529`, `Community 655`, `Community 15`, `Community 20`, `Community 275`, `Community 22`, `Community 26`, `Community 542`, `Community 295`, `Community 300`, `Community 433`, `Community 442`, `Community 59`, `Community 699`, `Community 317`, `Community 64`, `Community 75`, `Community 77`, `Community 593`, `Community 607`, `Community 480`, `Community 739`, `Community 230`, `Community 104`, `Community 107`, `Community 109`, `Community 245`, `Community 121`, `Community 122`, `Community 252`?**
_High betweenness centrality (0.041) - this node is a cross-community bridge._
- **Why does `Version20260705070546` connect `Community 646` to `Community 522`?**
_High betweenness centrality (0.034) - this node is a cross-community bridge._
- **Why does `BaseController` connect `Community 108` to `Community 6`, `Community 7`, `Community 265`, `Community 138`, `Community 139`, `Community 652`, `Community 14`, `Community 654`, `Community 655`, `Community 529`, `Community 15`, `Community 275`, `Community 20`, `Community 22`, `Community 26`, `Community 542`, `Community 295`, `Community 300`, `Community 433`, `Community 442`, `Community 59`, `Community 699`, `Community 317`, `Community 64`, `Community 75`, `Community 77`, `Community 593`, `Community 607`, `Community 480`, `Community 739`, `Community 230`, `Community 104`, `Community 107`, `Community 109`, `Community 626`, `Community 499`, `Community 245`, `Community 121`, `Community 122`, `Community 252`?**
_High betweenness centrality (0.032) - this node is a cross-community bridge._
- **What connects `ALLOWED_ROLES`, `get`, `patch` to the rest of the system?**
_4405 weakly-connected nodes found - possible documentation gaps or missing edges._
_4407 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `Community 0` be split into smaller, more focused modules?**
_Cohesion score 0.04971751412429379 - nodes in this community are weakly interconnected._
- **Should `Community 1` be split into smaller, more focused modules?**
_Cohesion score 0.02857142857142857 - nodes in this community are weakly interconnected._
_Cohesion score 0.028985507246376812 - nodes in this community are weakly interconnected._
- **Should `Community 2` be split into smaller, more focused modules?**
_Cohesion score 0.09523809523809523 - nodes in this community are weakly interconnected._