{"id":13771359,"url":"https://github.com/badetitou/MermaidPharo","last_synced_at":"2025-05-11T04:30:39.451Z","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":4,"default_branch":"main","last_synced_at":"2025-03-03T14:48:03.004Z","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"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":["mermaidjs","pharo"],"created_at":"2024-08-03T17:00:50.615Z","updated_at":"2025-05-11T04:30:39.072Z","avatar_url":"https://github.com/badetitou.png","language":"Smalltalk","funding_links":[],"categories":["Graphics"],"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"}