{"id":27064013,"url":"https://github.com/novident/novident-tree-view","last_synced_at":"2025-10-10T09:01:17.303Z","repository":{"id":284703774,"uuid":"955650228","full_name":"Novident/novident-tree-view","owner":"Novident","description":"Novident library for visualizing hierarchical structures with full control over nodes.","archived":false,"fork":false,"pushed_at":"2025-08-09T05:32:44.000Z","size":690,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-09T07:14:34.322Z","etag":null,"topics":["nodes","novident","tree","tree-structure","tree-view","widgets"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/novident_tree_view","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Novident.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-27T01:16:22.000Z","updated_at":"2025-08-09T05:31:40.000Z","dependencies_parsed_at":"2025-03-27T08:43:42.165Z","dependency_job_id":"abd702cb-52b0-4cb5-8c18-1105aa4ad507","html_url":"https://github.com/Novident/novident-tree-view","commit_stats":null,"previous_names":["novident/novident-tree-view"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Novident/novident-tree-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novident%2Fnovident-tree-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novident%2Fnovident-tree-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novident%2Fnovident-tree-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novident%2Fnovident-tree-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Novident","download_url":"https://codeload.github.com/Novident/novident-tree-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Novident%2Fnovident-tree-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003336,"owners_count":26083579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodes","novident","tree","tree-structure","tree-view","widgets"],"created_at":"2025-04-05T16:36:13.047Z","updated_at":"2025-10-10T09:01:17.244Z","avatar_url":"https://github.com/Novident.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌳 Novident Tree View \n\n\u003cp\u003e\n  \u003cimg \n    src=\"https://github.com/user-attachments/assets/f8900c61-438b-4742-b0aa-c383eb269b3e\" \n    alt=\"Image of Novident Tree View example\" \n  /\u003e\n\u003c/p\u003e\n\nThis package provides a flexible solution for displaying hierarchical data structures while giving developers full control over node management. Unlike traditional tree implementations that enforce controller-based architectures, this package operates on simple data types that you extend to create your node hierarchy. Nodes become self-aware of their state changes through `Listenable` patterns, enabling reactive updates without complex state management.\n\n## 💡 Motivation \n\nWe've investigated several alternatives that allow for convenient node tree creation with a standards-compliant implementation. But, we couldn't find one that satisfies our requirements. Most of these implementations required initializing a controller or similar to allow for a proper flow of actions within the tree.\n\nHowever, for **Novident**, this isn't what we're looking for. Our goal is to create a common solution that allows us to:\n\n* Listen for changes to Nodes manually\n* Send or force updates to specific Nodes\n* Have a common operation flow (insert, delete, move, or update) for nodes within the tree that depends on the user's implementation and not the package (complete control over them)\n* Better support for Node configuration\n\nThis is why we decided to create this package, which adds everything **Novident** requires in one place. \n\nIn this package, we can simply add a few configurations and leave everything else to it, as our own logic can create a beautiful file/node tree without too much code or the need for drivers.\n\n## 📦 Installation \n\nAdd to your `pubspec.yaml`:\n\n```yaml\ndependencies:\n  novident_tree_view: \u003clatest_version\u003e\n  novident_nodes: \u003clastest_version\u003e\n```\n\n## Basic usage\n\n```dart\nimport 'package:novident_tree_view/novident_tree_view.dart';\n\nfinal Widget tree = TreeView(\n   root: yourRootContainer,\n   configuration: TreeConfiguration(\n     components: [MyNodeBuilder(), AnotherNodeBuilder()],\n     draggableConfigurations: DraggableConfigurations(/*...*/),\n     indentConfiguration: IndentConfiguration.basic(/*...*/),\n     onHoverContainer: (node) =\u003e debugPrint('Hovering: ${node.details.id}'),\n     activateDragAndDropFeature: !kIsWeb, // Disable on web\n     addRepaintBoundaries: true,\n   ), \n);\n\n```\n\n\n## 🔎 Resources\n\nSince there's a lot to explain and implement, we prefer to provide a separate document for each section to explain more concretely and accurately what each point entails.\n\n* [📲 Components](https://github.com/Novident/novident-tree-view/blob/master/doc/components.md): In this section, we explain what a `NodeComponentBuilder` (which is responsible for rendering nodes) is, and how you can create your own versions so you can create your own implementations of each Node.\n\n* [🌲 Tree Configuration](https://github.com/Novident/novident-tree-view/blob/master/doc/tree_configuration.md): In this section, we explain what a `TreeConfiguration` is and all the properties that allow this package to render and use your Nodes to show a more effective appearance that simulates a node tree.\n\n* [🤏 Draggable Configurations](https://github.com/Novident/novident-tree-view/blob/master/doc/draggable_configuration.md): In this section, we explain what a `DraggableConfiguration` is, and how you can use it to configure the visual appearance of your nodes during Drag and Drop events.\n\n* [📏 Indentation Configuration](https://github.com/Novident/novident-tree-view/blob/master/doc/indentation_configuration.md): In this section, we explain what an `IndentConfiguration` is, and how you can use it to add indentation to your nodes in a simple yet effective way.\n\n* [📜 Drag and Drop details](https://github.com/Novident/novident-tree-view/blob/master/doc/drag_and_drop_details.md): In this section, we explain what a `NovDragAndDropDetails` is, and what it is typically used for (and even how it is used internally to calculate certain positions during drag and drop events).\n\n* [✍️ Nodes Gestures](https://github.com/Novident/novident-tree-view/blob/master/doc/nodes_gestures.md): In this section, we explain what a `NodeDragGestures` is and how you can configure it quickly and easily.\n\n## 📝 Recipes\n\n* [🗃️ Tree File](https://github.com/Novident/novident-tree-view/blob/master/doc/recipes/tree_file/tree_file.md): We designed an example of how you could recreate a file tree using this package quickly and easily, without too much code, but that allows you to simulate the standard behaviors of a file tree.\n\n_More recipes will be added later_\n\n## 🌳 Contributing\n\nWe greatly appreciate your time and effort.\n\nTo keep the project consistent and maintainable, we have a few guidelines that we ask all contributors to follow. These guidelines help ensure that everyone can understand and work with the code easier.\n\nSee [Contributing](https://github.com/Novident/novident-tree-view/blob/master/CONTRIBUTING.md) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovident%2Fnovident-tree-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnovident%2Fnovident-tree-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnovident%2Fnovident-tree-view/lists"}