{"id":1185,"url":"https://github.com/bakhtiyork/GraphLayout","last_synced_at":"2025-07-30T20:32:48.768Z","repository":{"id":56912940,"uuid":"129272290","full_name":"bakhtiyork/GraphLayout","owner":"bakhtiyork","description":"GraphLayout - iOS UI controls to visualize graphs. Powered by Graphviz","archived":false,"fork":false,"pushed_at":"2018-04-16T08:41:48.000Z","size":4383,"stargazers_count":100,"open_issues_count":5,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-01T18:47:32.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bakhtiyork.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-12T15:25:58.000Z","updated_at":"2024-01-09T14:17:36.000Z","dependencies_parsed_at":"2022-08-20T20:10:07.477Z","dependency_job_id":null,"html_url":"https://github.com/bakhtiyork/GraphLayout","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/bakhtiyork%2FGraphLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakhtiyork%2FGraphLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakhtiyork%2FGraphLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bakhtiyork%2FGraphLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bakhtiyork","download_url":"https://codeload.github.com/bakhtiyork/GraphLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187562,"owners_count":17882325,"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-01-05T20:15:40.781Z","updated_at":"2024-12-04T20:31:05.816Z","avatar_url":"https://github.com/bakhtiyork.png","language":"C","funding_links":[],"categories":["Graphics"],"sub_categories":["Getting Started","Other free courses","Linter"],"readme":"# GraphLayout\n\n[![Version](https://img.shields.io/cocoapods/v/GraphLayout.svg?style=flat)](http://cocoapods.org/pods/GraphLayout)\n[![License](https://img.shields.io/cocoapods/l/GraphLayout.svg?style=flat)](http://cocoapods.org/pods/GraphLayout)\n[![Platform](https://img.shields.io/cocoapods/p/GraphLayout.svg?style=flat)](http://cocoapods.org/pods/GraphLayout)\n\n\nGraphLayout - UI controls for graph visualization. It is powered by Graphviz. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics,  software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.\n\n## Example\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\u003cimg alt=\"Screenshot1\" src=\"https://raw.githubusercontent.com/bakhtiyork/GraphLayout/master/docs/images/screenshot1.png\" width=\"384\"\u003e\n\n## Requirements\nXcode 9, iOS 11\n\n## Installation\n\nGraphLayout is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'GraphLayout'\n```\nNotice, please, GraphLayout doesn't support frameworks.\n\n## Usage\nCreate graph, add nodes and edges.\n```swift\nlet graph:Graph = Graph()\nlet node1 = graph.addNode(\"node 1\")\nlet node2 = graph.addNode(\"node 2\")\nlet node3 = graph.addNode(\"node 3\")\nlet _ = graph.addEdge(from: node1, to: node2)\nlet _ = graph.addEdge(from: node1, to: node3)\nlet _ = graph.addEdge(from: node3, to: node2)\n```\nApply graph layout (Graphviz powered)\n```swift\ngraph.applyLayout()\n```\n\n### GraphView\nGraphView is a view to draw graphs. Set graph property of GraphView.\n```swift\ngraphView.graph = graph\ngraphView.setNeedsDisplay()\n```\n\n### GraphLayout\nGraphLayout is UICollectionView layout and data source to display graphs.\n```swift\nlet layout = GraphLayout()\nlayout.graph = graph\nlayout.setup(collectionView: collectionView)\nlayout.invalidateLayout()\n```\n\n## Credits\n\n* Steve D. Lazaro [How-to: Use Graphviz to Draw Graphs in a Qt Graphics Scene](http://www.mupuf.org/blog/2010/07/08/how_to_use_graphviz_to_draw_graphs_in_a_qt_graphics_scene/)\n* [qgv](https://github.com/nbergont/qgv) by [nbergont](https://github.com/nbergont)\n\n## License\n\nGraphLayout is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakhtiyork%2FGraphLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbakhtiyork%2FGraphLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakhtiyork%2FGraphLayout/lists"}