389 lines
15 KiB
Markdown
389 lines
15 KiB
Markdown
# Graph Report - lib/views/widgets (2026-07-15)
|
|
|
|
## Corpus Check
|
|
- Corpus is ~31,810 words - fits in a single context window. You may not need a graph.
|
|
|
|
## Summary
|
|
- 1149 nodes · 1818 edges · 67 communities (66 shown, 1 thin omitted)
|
|
- Extraction: 100% EXTRACTED · 0% INFERRED · 0% AMBIGUOUS
|
|
- Token cost: 0 input · 0 output
|
|
|
|
## Community Hubs (Navigation)
|
|
- Community 0
|
|
- Community 1
|
|
- Community 2
|
|
- Community 3
|
|
- Community 4
|
|
- Community 5
|
|
- Community 6
|
|
- Community 7
|
|
- Community 8
|
|
- Community 9
|
|
- Community 10
|
|
- Community 11
|
|
- Community 12
|
|
- Community 13
|
|
- Community 14
|
|
- Community 15
|
|
- Community 16
|
|
- Community 17
|
|
- Community 18
|
|
- Community 19
|
|
- Community 20
|
|
- Community 21
|
|
- Community 22
|
|
- Community 23
|
|
- Community 24
|
|
- Community 25
|
|
- Community 26
|
|
- Community 27
|
|
- Community 28
|
|
- Community 29
|
|
- Community 30
|
|
- Community 31
|
|
- Community 32
|
|
- Community 33
|
|
- Community 34
|
|
- Community 35
|
|
- Community 36
|
|
- Community 37
|
|
- Community 38
|
|
- Community 39
|
|
- Community 40
|
|
- Community 41
|
|
- Community 42
|
|
- Community 43
|
|
- Community 44
|
|
- Community 45
|
|
- Community 46
|
|
- Community 47
|
|
- Community 48
|
|
- Community 49
|
|
- Community 50
|
|
- Community 51
|
|
- Community 52
|
|
- Community 53
|
|
- Community 54
|
|
- Community 55
|
|
- Community 56
|
|
- Community 57
|
|
- Community 58
|
|
- Community 59
|
|
- Community 60
|
|
- Community 61
|
|
- Community 62
|
|
- Community 63
|
|
- Community 64
|
|
- Community 65
|
|
|
|
## God Nodes (most connected - your core abstractions)
|
|
1. `_PlayerNavBarState` - 5 edges
|
|
2. `_HoshanHomeAppBarState` - 5 edges
|
|
3. `LogoAppBar` - 5 edges
|
|
4. `build` - 5 edges
|
|
5. `_AiChatDialogState` - 4 edges
|
|
6. `_AiVoiceChatDialogState` - 4 edges
|
|
7. `_AnimatedVisibilityState` - 4 edges
|
|
8. `_Carousel3DState` - 4 edges
|
|
9. `_NavBarItemState` - 4 edges
|
|
10. `_contentBuilder` - 4 edges
|
|
|
|
## Surprising Connections (you probably didn't know these)
|
|
- `AiBanner` --inherits--> `StatelessWidget` [EXTRACTED]
|
|
ai_banner.dart → None _Bridges community 51 → community 58_
|
|
- `AudioPlayerWidget` --inherits--> `StatelessWidget` [EXTRACTED]
|
|
audio/audio_player_widget.dart → None _Bridges community 58 → community 18_
|
|
- `AudioSlider` --inherits--> `StatelessWidget` [EXTRACTED]
|
|
audio/audio_slider.dart → None _Bridges community 58 → community 35_
|
|
- `CategoriesRow1` --inherits--> `StatelessWidget` [EXTRACTED]
|
|
categories_gird.dart → None _Bridges community 58 → community 1_
|
|
- `DidvanBadge` --inherits--> `StatelessWidget` [EXTRACTED]
|
|
didvan/badge.dart → None _Bridges community 58 → community 28_
|
|
|
|
## Import Cycles
|
|
- None detected.
|
|
|
|
## Communities (67 total, 1 thin omitted)
|
|
|
|
### Community 0 - "Community 0"
|
|
Cohesion: 0.03
|
|
Nodes (57): _audioPlayer, _audioRecorder, _audioStreamSubscription, _audioWaveHeights, build, _buildOrb, _buildWave, _connectXai (+49 more)
|
|
|
|
### Community 1 - "Community 1"
|
|
Cohesion: 0.05
|
|
Nodes (43): build, categories, CategoriesRow1, CategoriesRow2, isColapsed, rightPadding, topPadding, build (+35 more)
|
|
|
|
### Community 2 - "Community 2"
|
|
Cohesion: 0.05
|
|
Nodes (43): _animationController, _audioPlayer, _audioRecorder, audioUrl, _backgroundKey, build, _buildAiAvatar, _buildDefaultUserAvatar (+35 more)
|
|
|
|
### Community 3 - "Community 3"
|
|
Cohesion: 0.06
|
|
Nodes (42): BotsModel?, HistoryAiChatState, build, preferredSize, showHistoryDrawer, withActions, withInfo, build (+34 more)
|
|
|
|
### Community 4 - "Community 4"
|
|
Cohesion: 0.05
|
|
Nodes (40): build, child, DidvanCard, enableBorder, margin, onTap, padding, EdgeInsets? (+32 more)
|
|
|
|
### Community 5 - "Community 5"
|
|
Cohesion: 0.05
|
|
Nodes (38): acceptSpace, autoFocus, _borderColor, build, _controller, createState, DidvanTextField, _DidvanTextFieldState (+30 more)
|
|
|
|
### Community 6 - "Community 6"
|
|
Cohesion: 0.06
|
|
Nodes (35): BoxFit?, build, changePercent, chartData, createState, hasError, height, initState (+27 more)
|
|
|
|
### Community 7 - "Community 7"
|
|
Cohesion: 0.06
|
|
Nodes (34): _buildPodcastStylePlayer, _checkAnimation, child, createState, currentIndex, delay, didUpdateWidget, dispose (+26 more)
|
|
|
|
### Community 8 - "Community 8"
|
|
Cohesion: 0.07
|
|
Nodes (31): AppBarData?, appBarData, backgroundColor, build, hasBorder, preferredSize, _AppBar, appBarData (+23 more)
|
|
|
|
### Community 9 - "Community 9"
|
|
Cohesion: 0.08
|
|
Nodes (26): CustomPainter, ShaderPainter, build, color1, color2, createState, dispose, extraIconPath (+18 more)
|
|
|
|
### Community 10 - "Community 10"
|
|
Cohesion: 0.08
|
|
Nodes (26): package:animated_custom_dropdown/custom_dropdown.dart, backwardBtn, build, _buildFullScreenToggle, _buildProgressIndicator, chewieController, createState, didChangeDependencies (+18 more)
|
|
|
|
### Community 11 - "Community 11"
|
|
Cohesion: 0.08
|
|
Nodes (25): _bounceAnimation, _bounceController, build, createState, currentTabIndex, DidvanBNB, dispose, initState (+17 more)
|
|
|
|
### Community 12 - "Community 12"
|
|
Cohesion: 0.08
|
|
Nodes (24): backgroundKey, blur, borderRadius, build, _captureBackground, _capturedImage, child, createState (+16 more)
|
|
|
|
### Community 13 - "Community 13"
|
|
Cohesion: 0.09
|
|
Nodes (22): bool?, build, color, createState, DidvanCheckbox, _DidvanCheckboxState, initState, size (+14 more)
|
|
|
|
### Community 14 - "Community 14"
|
|
Cohesion: 0.09
|
|
Nodes (23): autoPlayDuration, _autoPlayTimer, build, Carousel3D, _Carousel3DState, _controller, createState, _currentIndex (+15 more)
|
|
|
|
### Community 15 - "Community 15"
|
|
Cohesion: 0.13
|
|
Nodes (22): HomeAppBar, showFilterBottomSheet, HomeState, canSearch, _onChanged, preferredSize, _showFilterBottomSheet, MainPageState (+14 more)
|
|
|
|
### Community 16 - "Community 16"
|
|
Cohesion: 0.10
|
|
Nodes (21): createState, _enablePlayerController, inHome, PlayerNavBar, _PlayerNavBarState, _showPlayerBottomSheet, audio_player_widget.dart, audio_slider.dart (+13 more)
|
|
|
|
### Community 17 - "Community 17"
|
|
Cohesion: 0.10
|
|
Nodes (19): animated_visibility, _animation, build, child, createState, curve, didUpdateWidget, dispose (+11 more)
|
|
|
|
### Community 18 - "Community 18"
|
|
Cohesion: 0.12
|
|
Nodes (19): AudioPlayerWidget, audioSource, build, createState, _formatDuration, id, isPlaying, _PlayPouseAnimatedIcon (+11 more)
|
|
|
|
### Community 19 - "Community 19"
|
|
Cohesion: 0.11
|
|
Nodes (19): askForConfirmation, BookmarkButton, _BookmarkButtonState, build, color, createState, didUpdateWidget, gestureSize (+11 more)
|
|
|
|
### Community 20 - "Community 20"
|
|
Cohesion: 0.11
|
|
Nodes (19): dart:async, package:didvan/views/widgets/video/play_btn_animation.dart, Timer?, ValueNotifier, build, _buildFullScreenToggle, _buildPlayPause, _buildProgressIndicator (+11 more)
|
|
|
|
### Community 21 - "Community 21"
|
|
Cohesion: 0.12
|
|
Nodes (18): NewsRequestArgs?, hasUnmarkConfirmation, news, NewsOverview, newsRequestArgs, placeholder, hasUnmarkConfirmation, placeholder (+10 more)
|
|
|
|
### Community 22 - "Community 22"
|
|
Cohesion: 0.13
|
|
Nodes (17): MediaProvider, hasUnmarkConfirmation, placeholder, podcast, PodcastOverview, studioRequestArgs, hasUnmarkConfirmation, placeHolder (+9 more)
|
|
|
|
### Community 23 - "Community 23"
|
|
Cohesion: 0.12
|
|
Nodes (17): _comments, createState, FloatingNavigationBar, _FloatingNavigationBarState, _handleScroll, hasUnmarkConfirmation, isRadar, _isScrolled (+9 more)
|
|
|
|
### Community 24 - "Community 24"
|
|
Cohesion: 0.12
|
|
Nodes (16): Animation, AnimationController, alwaysAnimate, build, child, controller, createState, didUpdateWidget (+8 more)
|
|
|
|
### Community 25 - "Community 25"
|
|
Cohesion: 0.14
|
|
Nodes (15): build, category, createdAt, InfoCat, InfographyTag, tag, package:didvan/models/tag.dart, package:didvan/routes/routes.dart (+7 more)
|
|
|
|
### Community 26 - "Community 26"
|
|
Cohesion: 0.12
|
|
Nodes (15): ChewieController, package:chewie/chewie.dart, package:didvan/views/widgets/shimmer_placeholder.dart, package:video_player/video_player.dart, build, _chewieController, createState, custome (+7 more)
|
|
|
|
### Community 27 - "Community 27"
|
|
Cohesion: 0.13
|
|
Nodes (15): DayTime, build, createState, _currentMinute, isDisabled, _isHourMode, onTimeChanged, selectedTime (+7 more)
|
|
|
|
### Community 28 - "Community 28"
|
|
Cohesion: 0.14
|
|
Nodes (13): build, DidvanBadge, text, build, DidvanChip, label, onTap, build (+5 more)
|
|
|
|
### Community 29 - "Community 29"
|
|
Cohesion: 0.13
|
|
Nodes (15): askForConfirmation, build, color, createState, didUpdateWidget, gestureSize, initState, itemId (+7 more)
|
|
|
|
### Community 30 - "Community 30"
|
|
Cohesion: 0.13
|
|
Nodes (14): build, color, DidvanText, fontSize, fontWeight, isEnglishFont, maxLines, overflow (+6 more)
|
|
|
|
### Community 31 - "Community 31"
|
|
Cohesion: 0.18
|
|
Nodes (13): ../../constants/app_icons.dart, didvan/text.dart, MentionsState, ../../models/users_mention.dart, package:didvan/views/mentions/mentions_state.dart, package:didvan/views/widgets/skeleton_image.dart, build, createState (+5 more)
|
|
|
|
### Community 32 - "Community 32"
|
|
Cohesion: 0.19
|
|
Nodes (13): BackButton, __BackButtonState, _BackButton, _AnimatedEntry, _AnimatedEntryState, _BackButton, __BackButtonState, DidvanPageView (+5 more)
|
|
|
|
### Community 33 - "Community 33"
|
|
Cohesion: 0.15
|
|
Nodes (12): build, enableBookmark, enableCaption, hasUnmarkConfirmation, item, MultitypeOverview, placeholder, showDivider (+4 more)
|
|
|
|
### Community 34 - "Community 34"
|
|
Cohesion: 0.17
|
|
Nodes (10): package:didvan/views/widgets/state_handlers/empty_state.dart, build, EmptyConnection, onRetry, build, EmptyList, build, EmptyResult (+2 more)
|
|
|
|
### Community 35 - "Community 35"
|
|
Cohesion: 0.17
|
|
Nodes (11): AudioSlider, build, disableThumb, duration, _isPlaying, _onSeek, showTimer, tag (+3 more)
|
|
|
|
### Community 36 - "Community 36"
|
|
Cohesion: 0.17
|
|
Nodes (11): ButtonStyleMode, build, _childBuilder, color, enabled, height, imagepath, onPressed (+3 more)
|
|
|
|
### Community 37 - "Community 37"
|
|
Cohesion: 0.18
|
|
Nodes (11): build, createState, DatePickerButton, _DatePickerButtonState, emptyText, firstDate, initialValue, initState (+3 more)
|
|
|
|
### Community 38 - "Community 38"
|
|
Cohesion: 0.18
|
|
Nodes (11): build, createState, DidvanSwitch, _DidvanSwitchState, icon, initState, title, value (+3 more)
|
|
|
|
### Community 39 - "Community 39"
|
|
Cohesion: 0.17
|
|
Nodes (11): Duration, build, marqueeStyle, MarqueeText, stop, style, text, textDirection (+3 more)
|
|
|
|
### Community 40 - "Community 40"
|
|
Cohesion: 0.17
|
|
Nodes (11): FocusNode, isFiltered, onFilterPressed, searchFocusNode, searchType, searchValue, showBackButton, showSearchField (+3 more)
|
|
|
|
### Community 41 - "Community 41"
|
|
Cohesion: 0.17
|
|
Nodes (11): build, color, icon, iconSize, iconWidget, MenuOption, onTap, suffix (+3 more)
|
|
|
|
### Community 42 - "Community 42"
|
|
Cohesion: 0.18
|
|
Nodes (10): build, color, DidvanMarkdownText, text, width, package:didvan/utils/extension.dart, package:markdown_widget/config/configs.dart, package:markdown_widget/widget/blocks/leaf/heading.dart (+2 more)
|
|
|
|
### Community 43 - "Community 43"
|
|
Cohesion: 0.20
|
|
Nodes (9): build, DidvanVerticalLogo, height, build, DidvanHorizontalLogo, type, package:didvan/constants/assets.dart, package:flutter_svg/svg.dart (+1 more)
|
|
|
|
### Community 44 - "Community 44"
|
|
Cohesion: 0.18
|
|
Nodes (10): package:didvan/views/widgets/didvan/button.dart, action, asset, build, buttonTitle, EmptyState, height, subtitle (+2 more)
|
|
|
|
### Community 45 - "Community 45"
|
|
Cohesion: 0.20
|
|
Nodes (9): Color?, build, color, DidvanTitleDivider, icon, title, Icon?, ../ink_wrapper.dart (+1 more)
|
|
|
|
### Community 46 - "Community 46"
|
|
Cohesion: 0.20
|
|
Nodes (9): dart:ui, FragmentProgram?, FragmentShader, FragmentShader? get, GlassShader, initialize, _program, _shader (+1 more)
|
|
|
|
### Community 47 - "Community 47"
|
|
Cohesion: 0.20
|
|
Nodes (9): backgroundColor, build, color, DidvanIconButton, gestureSize, icon, isSvg, onPressed (+1 more)
|
|
|
|
### Community 48 - "Community 48"
|
|
Cohesion: 0.22
|
|
Nodes (8): BorderRadius?, borderRadius, build, child, highlightColor, InkWrapper, onPressed, splashColor
|
|
|
|
### Community 49 - "Community 49"
|
|
Cohesion: 0.22
|
|
Nodes (8): build, color, icon, iconWidget, ItemTitle, style, title, TextStyle?
|
|
|
|
### Community 50 - "Community 50"
|
|
Cohesion: 0.22
|
|
Nodes (8): build, lineColor, lineThickness, padding, text, textColor, TextDivider, textStyle
|
|
|
|
### Community 51 - "Community 51"
|
|
Cohesion: 0.25
|
|
Nodes (6): AiBanner, build, package:didvan/services/webview.dart, package:flutter/material.dart, build, DidvanProgressIndicator
|
|
|
|
### Community 52 - "Community 52"
|
|
Cohesion: 0.29
|
|
Nodes (8): build, build, _contentBuilder, build, build, Routes.newsDetails, Routes.radarDetails, Routes.statisticDetails
|
|
|
|
### Community 53 - "Community 53"
|
|
Cohesion: 0.25
|
|
Nodes (7): bool get, dart:math, build, _getYofMoon, hour, _isDay, TimeSkyAnimation
|
|
|
|
### Community 54 - "Community 54"
|
|
Cohesion: 0.25
|
|
Nodes (7): build, DidvanRadialButton, fontFamily, fontSize, onSelected, title, value
|
|
|
|
### Community 55 - "Community 55"
|
|
Cohesion: 0.29
|
|
Nodes (8): build, didUpdateWidget, initState, build, build, Routes.comments, Routes.mentions, Routes.studioDetails
|
|
|
|
### Community 56 - "Community 56"
|
|
Cohesion: 0.25
|
|
Nodes (7): package:didvan/config/design_config.dart, package:skeleton_text/skeleton_text.dart, borderRadius, build, height, ShimmerPlaceholder, width
|
|
|
|
### Community 57 - "Community 57"
|
|
Cohesion: 0.33
|
|
Nodes (6): body, build, createState, NotificationDynamicDialog, _NotificationDynamicDialogState, title
|
|
|
|
### Community 58 - "Community 58"
|
|
Cohesion: 0.47
|
|
Nodes (6): DidvanAppBar, DidvanButton, HoshanAppBar, LogoAppBar, PreferredSizeWidget, StatelessWidget
|
|
|
|
### Community 59 - "Community 59"
|
|
Cohesion: 0.33
|
|
Nodes (5): build, DidvanDivider, height, verticalPadding, double?
|
|
|
|
### Community 60 - "Community 60"
|
|
Cohesion: 0.33
|
|
Nodes (5): active, build, DidvanToggleButtonTime, onTap, title
|
|
|
|
### Community 61 - "Community 61"
|
|
Cohesion: 0.40
|
|
Nodes (4): build, createState, package:didvan/views/widgets/animated_visibility.dart, package:didvan/views/widgets/ink_wrapper.dart
|
|
|
|
### Community 62 - "Community 62"
|
|
Cohesion: 0.50
|
|
Nodes (5): build, build, Routes.bookmarks, Routes.profile, ThemeProvider
|
|
|
|
### Community 63 - "Community 63"
|
|
Cohesion: 0.67
|
|
Nodes (3): AiChatDialog, _AiChatDialogState, TickerProviderStateMixin
|
|
|
|
### Community 64 - "Community 64"
|
|
Cohesion: 0.67
|
|
Nodes (3): AnimatedVisibility, _AnimatedVisibilityState, SingleTickerProviderStateMixin
|
|
|
|
## Knowledge Gaps
|
|
- **681 isolated node(s):** `build`, `ChatMessage`, `_messageController`, `_scrollController`, `_messages` (+676 more)
|
|
These have ≤1 connection - possible missing edges or undocumented components.
|
|
- **1 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 `_contentBuilder` connect `Community 52` to `Community 7`?**
|
|
_High betweenness centrality (0.002) - this node is a cross-community bridge._
|
|
- **What connects `build`, `ChatMessage`, `_messageController` to the rest of the system?**
|
|
_681 weakly-connected nodes found - possible documentation gaps or missing edges._
|
|
- **Should `Community 0` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.034482758620689655 - nodes in this community are weakly interconnected._
|
|
- **Should `Community 1` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.04625346901017576 - nodes in this community are weakly interconnected._
|
|
- **Should `Community 2` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.045454545454545456 - nodes in this community are weakly interconnected._
|
|
- **Should `Community 3` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.05919661733615222 - nodes in this community are weakly interconnected._
|
|
- **Should `Community 4` be split into smaller, more focused modules?**
|
|
_Cohesion score 0.0507399577167019 - nodes in this community are weakly interconnected._ |