{"id":19925291,"url":"https://github.com/altwalker/vscode-model-visualizer","last_synced_at":"2026-05-13T06:34:09.153Z","repository":{"id":175423236,"uuid":"560623805","full_name":"altwalker/vscode-model-visualizer","owner":"altwalker","description":"A Visual Studio Code extension for displaying JSON models for AltWalker and GraphWalker.","archived":false,"fork":false,"pushed_at":"2024-03-01T22:47:40.000Z","size":7269,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T00:28:02.723Z","etag":null,"topics":["altwalker","graphwalker","model-based-testing","typescript","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=Altom.altwalker-model-visualizer","language":"TypeScript","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/altwalker.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-11-01T22:43:00.000Z","updated_at":"2023-12-16T12:24:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"c21bc3ac-c70f-4989-8c81-550c33c75ad3","html_url":"https://github.com/altwalker/vscode-model-visualizer","commit_stats":null,"previous_names":["altwalker/vscode-model-visualizer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fvscode-model-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fvscode-model-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fvscode-model-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altwalker%2Fvscode-model-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altwalker","download_url":"https://codeload.github.com/altwalker/vscode-model-visualizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241352524,"owners_count":19948857,"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":["altwalker","graphwalker","model-based-testing","typescript","vscode","vscode-extension"],"created_at":"2024-11-12T22:21:40.601Z","updated_at":"2026-05-13T06:34:09.125Z","avatar_url":"https://github.com/altwalker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AltWalker Model Visualizer\n\nA Visual Studio Code extension for visualizing and editing JSON models. It expects the format required by [AltWalker](https://altom.gitlab.io/altwalker/altwalker/) and [GraphWalker](http://graphwalker.github.io/).\n\n[AltWalker](https://altom.gitlab.io/altwalker/altwalker/) is a Model-Based Testing framework that supports running tests written in python3 and .NET/C#.\n\n[GraphWalker](http://graphwalker.github.io/) is a Model-Based testing tool. It reads models in the shape of directed graphs, and generates test paths from these graphs.\n\n\u003cimg src=\"images/model.png\" width=734 height=413\u003e\n\n## Get started\n\n1. Install Visual Studio Code 1.0.0 or higher\n2. Launch Code\n3. From the command palette `Ctrl+Shift+P` (Windows \u0026 Linux) or `Cmd+Shift+P` (MacOS)\n4. Select Install Extension\n5. Type `AltWalker Model Visualizer`\n6. Choose the extension\n7. Reload Visual Studio Code\n\n## Features\n\n* `Preview on side panel (Windows \u0026 Linux: ctrl+shift+v, MacOS: cmd+shift+v)`: Easily check your [AltWalker](https://altom.gitlab.io/altwalker/altwalker/) or [GraphWalker](http://graphwalker.github.io/) models.\n\n\u003cimg src=\"images/start.gif\" width=734 height=413\u003e\n\n## Models Format\n\nAn example of json model can be found [here](model.json).\n\nFor more informations you can visit [AltWalker documentation](https://altom.gitlab.io/altwalker/altwalker/) or [Graphwalker documentation](https://graphwalker.github.io/).\n\n## Snippets\n\nPress `Ctrl` +`Space` for snippets suggestions.\n\n| Snippet | Description |\n| ------- | ----------- |\n| actions | Creates an action template. An action is a piece of JavaScript code executed by GraphWalker. You can place action on the model level which will be executed before any step from that model or on an edge which will be executed when an edge is reached. |\n| altwalker | Creates an AltWalker models file template |\n| dependency | Creates a dependency template. Dependency field is optional, it can be used to set dependencies and use them with dependency_edge_coverage. |\n| edge | Creates an edge template. An edge is an action that takes the system under tests form one state (vertex) to another. |\n| example | Creates an example model with three vertices. |\n| generator | Creates a generator template. A generator is an algorithm that decides how to traverse a model. Different generators will generate different test sequences, and they will navigate in different ways. |\n| guard | Creates a guard template. Guard field is optional, it can be used to set a guard on this edge. |\n| model | Creates a model template. |\n| properties | Creates a properties template. Properties field is optional, it can be used to store pairs of key/data. |\n| requirements | Creates a requirements template. Requirements field is optional, it can be used to set tags on vertices and use them with requirement_coverage. |\n| sharedState | Creates a sharedState template. SharedState field is optional, it can be used to link to vertices from different models. Any vertices with the same value for sharedState are linked. |\n| vertex | Creates a vertex template. A vertex is a state of the system under tests. In the test code this is the place where the actual test (asserts) takes place. |\n| weight | Creates a weight template. Weight field is optional, it can be used to set weights and use them with weighted_random. |\n\n## Settings Options\n\n* `altwalker.layout.align`: Alignment for rank nodes. Can be Up-Left, Up-Right, Down-Left, or Down-Right (default: Down-Right).\n  ```json\n    {\n      \"altwalker.layout.align\": \"Down-Right\"\n    }\n  ```\n* `altwalker.layout.edgesep`: Number of pixels that separate edges horizontally in the layout (min: 1, max: 500, default: 10).\n  ```json\n    {\n      \"altwalker.layout.edgesep\": 10\n    }\n  ```\n* `altwalker.layout.legend`: True/False to render the legend (default: true).\n  ```json\n    {\n      \"altwalker.layout.legend\": true\n    }\n  ```\n* `altwalker.layout.marginx`: Number of pixels to use as a margin around the left and right of the graph (min: 1, max: 500, default: 1).\n  ```json\n    {\n      \"altwalker.layout.marginx\": 1\n    }\n  ```\n* `altwalker.layout.marginy`: Number of pixels to use as a margin around the top and bottom of the graph (min: 1, max: 500, default: 1).\n  ```json\n    {\n      \"altwalker.layout.marginy\": 1\n    }\n  ```\n* `altwalker.layout.nodesep`: Number of pixels that separate nodes horizontally in the layout (min: 1, max: 500, default: 1).\n  ```json\n    {\n      \"altwalker.layout.nodesep\": 1\n    }\n  ```\n* `altwalker.layout.rankdir`: Direction for rank nodes. Can be Top-Bottom, Bottom-Top, Left-Right, Right-Left (default: \"Top-Bottom\").\n  ```json\n    {\n      \"altwalker.layout.rankdir\": \"Top-Bottom\"\n    }\n  ```\n* `altwalker.layout.ranker`: Type of algorithm to assigns a rank to each node in the input graph. Can be Longest Path, Tight Tree, Network Simplex (default: Network Simplex).\n  ```json\n    {\n      \"altwalker.layout.ranker\": \"Network Simplex\"\n    }\n  ```\n* `altwalker.layout.ranksep`: Number of pixels between each rank in the layout (min: 1, max: 500, default: 50).\n  ```json\n    {\n      \"altwalker.layout.ranksep\": 50\n    }\n  ```\n\n## Support\n\nFor help with modeling you can read our guide [here](https://altom.gitlab.io/altwalker/altwalker/modeling.html).\n\nJoin our Gitter chat room [here](https://gitter.im/altwalker/community) to chat with us or with other members of the community.\n\n## The extension uses the following libraries\n\n* [D3](https://d3js.org/)\n* [d3-legend](https://d3-legend.susielu.com/)\n* [dagre-d3](https://github.com/dagrejs/dagre-d3)\n* [Model-Visualizer](https://altom.gitlab.io/altwalker/model-visualizer/index.html)\n* [Vue.js](https://vuejs.org/)\n\n## License\n\nAltWalker Model Visualizer is licensed under the [GNU](LICENSE) General Public License v3.0.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltwalker%2Fvscode-model-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltwalker%2Fvscode-model-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltwalker%2Fvscode-model-visualizer/lists"}