{"id":18862146,"url":"https://github.com/yohasebe/rubyplb","last_synced_at":"2025-04-14T13:02:55.589Z","repository":{"id":654548,"uuid":"297175","full_name":"yohasebe/rubyplb","owner":"yohasebe","description":"Command line Pattern Lattice building tool written in Ruby","archived":false,"fork":false,"pushed_at":"2017-05-04T09:57:52.000Z","size":464,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T00:46:51.183Z","etag":null,"topics":["pattern-lattice","ruby","visualization"],"latest_commit_sha":null,"homepage":"http://github.com/yohasebe/rubyplb","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yohasebe.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2009-09-04T05:42:04.000Z","updated_at":"2020-11-09T04:13:23.000Z","dependencies_parsed_at":"2022-07-07T16:47:15.122Z","dependency_job_id":null,"html_url":"https://github.com/yohasebe/rubyplb","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Frubyplb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Frubyplb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Frubyplb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yohasebe%2Frubyplb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yohasebe","download_url":"https://codeload.github.com/yohasebe/rubyplb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248824667,"owners_count":21167343,"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":["pattern-lattice","ruby","visualization"],"created_at":"2024-11-08T04:33:25.262Z","updated_at":"2025-04-14T13:02:55.547Z","avatar_url":"https://github.com/yohasebe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RubyPLB\n\nRubyPLB generates pattern lattice graphics from lists of patterns.\n\n## Features\n\n* Accept a text file with any number of patterns and generate a Graphviz DOT file, or a PNG/JPG/EPS image file.\n* Calculate z-scores of pattern nodes and create lattice graphs with temperature colorng applied. \n\n## Installation\n\nInstall the gem:\n\n    $gem install rubyplb\n\n## How to Use\n\n    Usage:\n           rubyplb [options] \u003csource file\u003e \u003coutput file\u003e\n  \n    where:\n    \u003csource file\u003e\n           \".plb\", \".txt\"\n    \u003coutput file\u003e\n           .\"dot\", \".png\", \".jpg\", or \".eps\"\n    [options]:\n        --simple, -s:   Use simple labels for pattern nodes\n          --full, -f:   Generate a full pattern lattice without contracting nodes\n      --vertical, -v:   Draw the graph from top to bottom instead of left to right)\n      --coloring, -c:   Color pattern nodes\n      --straight, -t:   Straighten edges (available when output format is either png, jpg, or eps)\n          --help, -h:   Show this message\n\n## Example\n\nSource file (`sample.plb`)\n\n    A B C A [navy] (42)\n    C D E [#FF9900] (23)\n    A D E (8)\n\nEach line represents a pattern, or an instance of a pattern to be more precise. A color code can be specified in square brackets and pattern weight can be specified by an integer in parentheses after the pattern representation.\n\n    rubyplb -s -c 1 -t -v sample.plb sapmple.png\n\nResulting image\n\n![sample.png](https://github.com/yohasebe/rubyplb/blob/master/sample.png)\n\n## Copyright\n\nCopyright (c) 2009-2017 Kow Kuroda and Yoichiro Hasebe. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohasebe%2Frubyplb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyohasebe%2Frubyplb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyohasebe%2Frubyplb/lists"}