{"id":20238529,"url":"https://github.com/badetitou/mermaidpharo","last_synced_at":"2025-09-04T15:45:31.674Z","repository":{"id":91711705,"uuid":"464911157","full_name":"badetitou/MermaidPharo","owner":"badetitou","description":"Pharo generate mermaid diagram","archived":false,"fork":false,"pushed_at":"2023-10-06T06:50:33.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-27T08:53:14.112Z","etag":null,"topics":["mermaidjs","pharo"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","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/badetitou.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}},"created_at":"2022-03-01T13:47:36.000Z","updated_at":"2023-10-06T06:49:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b4a2808-99db-49db-b2c6-41f4cbccb1ea","html_url":"https://github.com/badetitou/MermaidPharo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/badetitou/MermaidPharo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FMermaidPharo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FMermaidPharo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FMermaidPharo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FMermaidPharo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badetitou","download_url":"https://codeload.github.com/badetitou/MermaidPharo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badetitou%2FMermaidPharo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273632960,"owners_count":25140772,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","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":["mermaidjs","pharo"],"created_at":"2024-11-14T08:34:37.915Z","updated_at":"2025-09-04T15:45:31.607Z","avatar_url":"https://github.com/badetitou.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MermaidPharo\n\n[![CI](https://github.com/badetitou/MermaidPharo/actions/workflows/CI.yml/badge.svg)](https://github.com/badetitou/MermaidPharo/actions/workflows/CI.yml)\n[![Coverage Status](https://coveralls.io/repos/github/badetitou/MermaidPharo/badge.svg?branch=main)](https://coveralls.io/github/badetitou/MermaidPharo?branch=main)\n\nYou can use mle to generate [MermaidJS](https://mermaid-js.github.io) diagram from Pharo.\n\n## Installation\n\n```st\nMetacello new\n  githubUser: 'badetitou' project: 'MermaidPharo' commitish: 'main' path: 'src';\n  baseline: 'MermaidPharo';\n  load\n```\n\n## Example\n\n```st\nP2M new\n pharoClasses: MeEntity allSubclasses;\n generateClassDiagram\n```\n\n## Moose Example\n\nAfter loading the `moose` group, a common usage is:\n\n```st\ndiagram := M2M new\n\tmetamodel: GLHModel resetMetamodel;\n\twithoutBlock: [ :class | (class name endsWith: #Model) \n\t\tor: [ class package name ~= GLHModel class package name\n\t\t\tor: [ (class name endsWith: #Entity) ] ]];\n\tgenerateClassDiagram.\n```\n\n\u003e The without block enable to only select the interesting entities of the metamodel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadetitou%2Fmermaidpharo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadetitou%2Fmermaidpharo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadetitou%2Fmermaidpharo/lists"}