{"id":18271103,"url":"https://github.com/epreston/PSTreeGraph","last_synced_at":"2025-04-05T01:31:02.214Z","repository":{"id":142686795,"uuid":"2226650","full_name":"epreston/PSTreeGraph","owner":"epreston","description":"A tree graph view control for iPad applications.  This is a port of the sample code from Max OS X to iOS (iPad).","archived":true,"fork":false,"pushed_at":"2015-10-27T00:41:06.000Z","size":687,"stargazers_count":259,"open_issues_count":16,"forks_count":50,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-05T11:53:19.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://epreston.github.io/PSTreeGraph/","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epreston.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-08-18T07:41:15.000Z","updated_at":"2024-06-17T01:52:29.000Z","dependencies_parsed_at":"2023-03-14T17:15:44.176Z","dependency_job_id":null,"html_url":"https://github.com/epreston/PSTreeGraph","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epreston%2FPSTreeGraph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epreston%2FPSTreeGraph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epreston%2FPSTreeGraph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epreston%2FPSTreeGraph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epreston","download_url":"https://codeload.github.com/epreston/PSTreeGraph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276043,"owners_count":20912286,"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","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":[],"created_at":"2024-11-05T11:39:05.006Z","updated_at":"2025-04-05T01:31:01.440Z","avatar_url":"https://github.com/epreston.png","language":"Objective-C","readme":"# PSTreeGraph\n\n[![Build Status](https://travis-ci.org/epreston/PSTreeGraph.png?branch=master)](https://travis-ci.org/epreston/PSTreeGraph)\n\nPSTreeGraph is a treegraph view control implementation for Cocoa Touch.\n\nThis is a port of the sample code from Max OS X to iOS (iPad). \nWWDC 2010 Session 141, “Crafting Custom Cocoa Views”\n\n![](http://farm7.static.flickr.com/6193/6055022105_ab831b2d8e.jpg)\n\n\n# Example Project\n\nThere is an iPad example application to demonstrate the features of PSTreeGraph.\n\n\n# Status\n\nPSTreeGraph should be considered an viable solution for displaying single parent tree data in an interactive hierarchy.  The \"ARC\" branch contains the automatic reference counting compatible code base.  In the very near future, this will be merged with \"master\", non \"ARC\" code will be frozen at the 1.0 release.  Those looking for a reference counted implementation should look for a \"Non ARC 1.0\" branch.\n\nThis project follows the [SemVer](http://semver.org/) standard. The API may change in backwards-incompatible ways before the 1.0 release.\n\nThe goal of PSTreeGraph is to build a high-quality UI control designed specifically for the iPad.  The inspiration / structure comes from WWDC 2010 Session 141, “Crafting Custom Cocoa Views”, an extremely valuable and informative presentation that has proven to be applicable (see this project) to other platforms.\n\n\n# Getting Started\n\nSee [Wiki](https://github.com/epreston/PSTreeGraph/wiki).\n\nUseful information can also be found in the issues log. The following discussions might be helpful. If you can't find what you are looking for, start a new topic.\n\n* [Display hierarchical data from xml or json](https://github.com/epreston/PSTreeGraph/issues/9)\n* [Can you select arbitrary nodes?](https://github.com/epreston/PSTreeGraph/issues/5)\n* [Customizing the leaf view](https://github.com/epreston/PSTreeGraph/issues/7)\n\n\n# Known Improvements\n\nSee [Milestones](https://github.com/epreston/PSTreeGraph/issues/milestones?with_issues=no).\n\nThere are many places where PSTreeGraph could be improved:\n\n* Use GCD to load model data asyncronously.  This control uses a simple protocol implemented by each node in the data model so the control can walk the tree. This can be loaded asynchronously to avoid blocking the main thread when displaying large graphs.\n\n* Cache the bezier path used to render lines in each subtree.  The bezier path used to render the lines between each node in the graph can be cached to improve performance.\n\n* Use CATiledLayer to support much larger graphs.  Investigate using a CATiledLayer to further reduce drawing and memory usage, support scaling, etc. This feature will make it possible support graphs of unlimited size and scale. Rendering time and resource usage would be constant regardless of the number of nodes in the graph.\n\n\n# Documentation\n\nYou can generate documentation with [doxygen](http://www.doxygen.org). The example project includes a documentation build target to do this within Xcode.    For more details, see the [Documentation](https://github.com/epreston/PSTreeGraph/wiki/Documentation) page in this projects wiki.\n\n## Contribute\n\nIf you'd like to contribute to PSTreeGraph, start by forking this repository on GitHub:\n\n       http://github.com/epreston/PSTreeGraph\n\nThe best way to get your changes merged back into core is as follows:\n\n1. Clone down your fork\n2. Create a thoughtfully named topic branch to contain your change\n3. Hack away\n4. Add tests and make sure everything still passes\n5. If you are adding new functionality, document it in the README\n6. Do not change the version number, I will do that on my end\n7. If necessary, rebase your commits into logical chunks, without errors\n8. Push the branch up to GitHub\n9. Send a pull request to the epreston/PSTreeGraph project.\n\nOr better still, [donate] (http://epreston.github.com/PSTreeGraph/) via the [project website] (http://epreston.github.com/PSTreeGraph/).\n\n\n# Copyright and License\n\nCopyright 2012 Preston Software.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this work except in compliance with the License.\n   You may obtain a copy of the License in the LICENSE file, or at:\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/epreston/pstreegraph/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepreston%2FPSTreeGraph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepreston%2FPSTreeGraph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepreston%2FPSTreeGraph/lists"}