{"id":29064507,"url":"https://github.com/zosmac/graphviz_swift","last_synced_at":"2026-06-19T23:32:08.943Z","repository":{"id":300122274,"uuid":"1005274843","full_name":"zosmac/graphviz_swift","owner":"zosmac","description":"Graphviz macOS SwiftUI app","archived":false,"fork":false,"pushed_at":"2026-01-24T13:11:11.000Z","size":200707,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-25T01:07:14.248Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/zosmac.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-20T01:11:37.000Z","updated_at":"2026-01-24T13:11:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"868c7e66-dd16-4ea8-9f42-fb99e6d09616","html_url":"https://github.com/zosmac/graphviz_swift","commit_stats":null,"previous_names":["zosmac/graphviz_swift"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zosmac/graphviz_swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosmac%2Fgraphviz_swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosmac%2Fgraphviz_swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosmac%2Fgraphviz_swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosmac%2Fgraphviz_swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zosmac","download_url":"https://codeload.github.com/zosmac/graphviz_swift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zosmac%2Fgraphviz_swift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34552295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2025-06-27T09:07:12.033Z","updated_at":"2026-06-19T23:32:08.938Z","avatar_url":"https://github.com/zosmac.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to *GraphvizSwift*\n## The *Swift* language based *macOS* *Graphviz* Application.\n\n- [Overview](#overview)\n- [Installing *GraphvizSwift*](#installing-graphvizswift)\n  - [Download the *GraphvizSwift* Package Installer](#download-the-graphvizswift-package-installer)\n  - [Clone and Build the *GraphvizSwift* Package Installer](#clone-and-build-the-graphvizswift-package-installer)\n  - [Install *GraphvizSwift*](#install-graphvizswift)\n- [Running *GraphvizSwift*](#running-graphvizswift)\n\n## Overview\n*GraphvizSwift* is a [macOS](https://www.apple.com/os/macos/) application that reads [Graphviz](https://graphviz.org) [DOT Language](https://graphviz.org/doc/info/lang.html) files for display. DOT defines the nodes and edges of a network graph, which *Graphviz* interprets to draw a network graph diagram. On *macOS*, *Graphviz* can use [Quartz](https://developer.apple.com/documentation/quartz) to render the diagrams into the following image formats: BMP, GIF, JPEG, PDF, PNG, SVG, and TIFF.\n\nNote that *Graphviz* DOT language files by convention have the `.gv` extension. The `.dot` extension is registered for Microsoft DOcument Templates (Universal Type Identifier com.microsoft.word.dot).\n\n## Installing *GraphvizSwift*\nYou have two choices for installing [GraphvizSwift](https://github.com/zosmac/graphviz_swift), either by downloading the package installer directly, or by cloning the repository and building the package installer.\n\nNote that *GraphvizSwift* uses *WebKit*'s *WebView* and *WebPage*, *NotificationCenter*'s *MainActorMessage*, and *Liquid Glass* effects, all introduced with macOS 26 Tahoe.\n\n### Download the *GraphvizSwift* Package Installer\nYou can install *GraphvizSwift* directly onto your Mac by downloading the package installer from [its repository](https://github.com/zosmac/graphviz_swift). Select `graphvizswift-arm64.pkg` and then download the raw file.\n\n![GraphvizSwiftDownload](Readme/GraphvizSwiftDownload.png)\n\nSimilarly, download `graphvizswift-arm64.pkg.sha512`. Then, verify the package installer:\n```zsh\ncd ~/Downloads\nsha512sum -c graphvizswift-arm64.pkg.sha512\n```\nIf this reports `graphvizswift-arm64.pkg: OK`, then remove it from quarantine:\n```zsh\nxattr -d com.apple.quarantine graphvizswift-arm64.pkg\n```\n\n### Clone and Build the *GraphvizSwift* Package Installer\n\n#### Install *Xcode*\nTo build the *GraphvizSwift* App, first download and install [Xcode](https://developer.apple.com/xcode/). *Xcode* provides the Command Line Tools (e.g. `git`, `make`) for building *Graphviz*, `xcodebuild` for building the *GraphvizSwift* App, and the IDE for *macOS* app development and testing.\n\n![GraphvizSwiftXcode](Readme/GraphvizSwiftXcode.png)\n\n#### Clone the *GraphvizSwift* Repository\n```zsh\ngit clone git@github.com:zosmac/graphviz_swift.git\n```\n\n#### Build the Package Installer\nCreate the macOS package installer `graphvizswift-arm64.pkg` to install the *GraphvizSwift* App locally and to distribute it for installation on other macOS hosts.\n```zsh\ncd graphviz_swift\nmake pkg\n```\n\n### Install *GraphvizSwift*\nOpen the package installer:\n```zsh\nopen graphvizswift-arm64.pkg\n```\nEnter the password for your macOS system account when prompted, and the app will be installed in /Applications/GraphvizSwift.app.\n\n## Running *GraphvizSwift*\nOnce installed, find *GraphvizSwift* in the `/Applications` folder or via the App Launcher. Open the app, which will first present an open document navigator view. *Graphviz* includes a sample folder which is deployed with the *GraphvizSwift* app. In the document navigator, press the key combination \u0026#8984;\u0026#8679;G. This opens a sheet to enter a Unix path. The sample folder is `/Applications/GraphvizSwift.app/Contents/Frameworks/share/graphviz/graphs/directed`:\n\n![GraphvizSwiftCmdShiftG](Readme/GraphvizSwiftCmdShiftG.png)\n\nThe *Graphviz* sample folder installs a number of example DOT files (extension is .gv):\n\n![GraphvizSwiftOpen](Readme/GraphvizSwiftOpen.png)\n\nSelect from this list or navigate to other folders containing `.gv` files. Upon selection, *GraphvizSwift* presents a document view of the file. The toolbar has a **View Type** popup menu to set the desired rendering type. The default is PDF, which you can change in **Settings**. The adjacent **Save** button saves the file in that as that type, and next you will see several zoom options to change the size of the image:\n\n![GraphvizSwiftView](Readme/GraphvizSwiftView.png)\n\nThe **Messages** button follows the zoom buttons. If highlighted in red, select it to display any error messages from rendering the graph:\n\n![GraphvizSwiftMessages](Readme/GraphvizSwiftMessages.png)\n\nThe final button **Attributes** displays a sidebar for updating global graph, node, or edge attributes of the graph:\n\n![GraphvizSwiftAttrs](Readme/GraphvizSwiftAttrs.png)\n\nFor guidance on setting attributes, from the **Window** menu select **Show Attributes Documentation**. Note that some of the links in the documentation open external sites. To return to the attributes documentation, select **Overview** below the title bar:\n\n![GraphvizSwiftAttrsDoc](Readme/GraphvizSwiftAttrsDoc.png)\n\nYou may also edit the file directly to update global attributes and to edit attributes for specific nodes, edges, or clusters. To enable edit mode, select **GV** from the **View Type** popup:\n\n![GraphvizSwiftEdit](Readme/GraphvizSwiftEdit.png)\n\nWith GraphvizSwift's **Settings**, you may configure several defaults for the app. The **View Type** popup menu specifies the type for rendering graphs. The default is PDF. You may also configure defaults for the **Layout Engine** for formatting graphs, the **Text Size** of *gv*, *canon*, and *json* renderings, and the **Input Scale** for node position points to inches conversion:\n\n![GraphvizSwiftSettings](Readme/GraphvizSwiftSettings.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzosmac%2Fgraphviz_swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzosmac%2Fgraphviz_swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzosmac%2Fgraphviz_swift/lists"}