{"id":39087892,"url":"https://github.com/nedtaylor/graphstruc","last_synced_at":"2026-01-17T18:43:10.476Z","repository":{"id":252213993,"uuid":"839742840","full_name":"nedtaylor/graphstruc","owner":"nedtaylor","description":"A Fortran library for graph structures","archived":false,"fork":false,"pushed_at":"2025-12-06T12:48:56.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-08T02:07:29.157Z","etag":null,"topics":["fortran","fortran-package-manager","graph-structures","graphs","library"],"latest_commit_sha":null,"homepage":"","language":"Fortran","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/nedtaylor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2024-08-08T08:36:01.000Z","updated_at":"2025-12-06T12:48:59.000Z","dependencies_parsed_at":"2025-12-03T15:03:26.681Z","dependency_job_id":null,"html_url":"https://github.com/nedtaylor/graphstruc","commit_stats":null,"previous_names":["nedtaylor/graphstruc"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nedtaylor/graphstruc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedtaylor%2Fgraphstruc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedtaylor%2Fgraphstruc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedtaylor%2Fgraphstruc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedtaylor%2Fgraphstruc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nedtaylor","download_url":"https://codeload.github.com/nedtaylor/graphstruc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nedtaylor%2Fgraphstruc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:28:00.501Z","status":"ssl_error","status_checked_at":"2026-01-17T18:28:00.150Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fortran","fortran-package-manager","graph-structures","graphs","library"],"created_at":"2026-01-17T18:43:09.827Z","updated_at":"2026-01-17T18:43:10.467Z","avatar_url":"https://github.com/nedtaylor.png","language":"Fortran","readme":"[![MIT workflow](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/license/mit/ \"View MIT license\")\n[![Latest Release](https://img.shields.io/github/v/release/nedtaylor/graphstruc?sort=semver)](https://github.com/nedtaylor/graphstruc/releases \"View on GitHub\")\n[![FPM](https://img.shields.io/badge/fpm-0.10.1-purple)](https://github.com/fortran-lang/fpm \"View Fortran Package Manager\")\n[![CMAKE](https://img.shields.io/badge/cmake-3.17.5-red)](https://github.com/Kitware/CMake/releases/tag/v3.17.5 \"View cmake\")\n[![GCC compatibility](https://img.shields.io/badge/gcc-14.1.0-green)](https://gcc.gnu.org/gcc-14/ \"View GCC\")\n\n# graphstruc\n\nby Ned Thaddeus Taylor\n\ngraphstruc is a Fortran library that provides an implementation of graph structures in the form of a derived type.\n\n---\n\ngraphstruc is distributed with the following directories:\n\n| Directory | Description |\n|---|---|\n|  _example/_  |    A set of example programs utilising the library |\n|  _src/_ |      Source code  |\n|  _test/_  |    A set of unit test programs to check functionality of the library works after compilation |\n\n\nDocumentation\n-----\n\nThe library has a compilable documentation this can be accessed with the [FORD (FORtran Documenter)](https://forddocs.readthedocs.io/en/stable/) tool.\nThe documentation can be compiled using the following terminal command in the root directory of the repository:\n\n```\n  ford ford.md\n```\n\nThis will generate the `doc/html` directory, inside which, you will find `index.html`.\nBy opening this file in a browser window, you will be able to view a nagivable documentation.\n\n\nSetup\n-----\n\nThe graphstruc library can be obtained from the git repository.\nUse the following commands to get started:\n\n```\n  git clone https://github.com/nedtaylor/graphstruc.git\n  cd graphstruc\n```\n\n\n### Dependencies\n\nThe library has the following dependencies\n- A Fortran compiler (compatible with Fortran 2018 or later)\n- [fpm](https://github.com/fortran-lang/fpm) or [CMake](https://cmake.org) for building the library\n\nThe library has been developed and tested using the following compilers:\n- gfortran -- gcc 14.1.0\n\n\n### Building with fpm\n\nThe library is set up to work with the Fortran Package Manager (fpm).\n\nRun the following command in the repository main directory:\n```\n  fpm build --profile release\n```\n\n#### Testing with fpm\n\nTo check whether graphstruc has installed correctly and that the compilation works as expected, the following command can be run:\n```\n  fpm test\n```\n\nThis runs a set of test programs (found within the test/ directory) to ensure the expected output occurs when layers and networks are set up.\n\n### Building with cmake\n\nRun the following commands in the directory containing _CMakeLists.txt_:\n```\n  mkdir build  \n  cd build  \n  cmake [-DCMAKE_BUILD_TYPE=\"optim;mp\"] ..  \n  make install  \n```\nThis will build the library in the build/ directory. All library files will then be found in:\n```\n  ${HOME}/.local/graphstruc\n```\nInside this directory, the following files will be generated:\n```\n  include/graphstruc.mod\n  lib/libgraphstruc.a\n```\n\n#### Testing with cmake\n\nTo check whether graphstruc has installed correctly and that the compilation works as expected, the following command can be run:\n```\n  ctest\n```\n\nThis runs a set of test programs (found within the test/ directory) to ensure the expected output occurs when layers and networks are set up.\n\n\nDevelopers\n----------\n- Ned Thaddeus Taylor\n\nContributing\n------------\n\nPlease note that this project adheres to the [Contributing Guide](CONTRIBUTING.md). If you want to contribute to this project, please first read through the guide.\n\n\nLicense\n-------\nThis work is licensed under an [MIT license](https://opensource.org/license/mit/).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnedtaylor%2Fgraphstruc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnedtaylor%2Fgraphstruc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnedtaylor%2Fgraphstruc/lists"}