{"id":31322708,"url":"https://github.com/atp-mipt/ljv","last_synced_at":"2025-09-25T19:08:07.625Z","repository":{"id":38095340,"uuid":"249489760","full_name":"atp-mipt/ljv","owner":"atp-mipt","description":"Lightweight Java Visualizer","archived":false,"fork":false,"pushed_at":"2023-04-07T11:57:33.000Z","size":5114,"stargazers_count":292,"open_issues_count":10,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-20T22:57:24.021Z","etag":null,"topics":["graphviz-dot","java"],"latest_commit_sha":null,"homepage":"https://atp-mipt.github.io/ljv/","language":"SCSS","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/atp-mipt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-23T16:51:10.000Z","updated_at":"2025-07-26T09:54:37.000Z","dependencies_parsed_at":"2025-08-20T22:57:28.947Z","dependency_job_id":"d290f240-636a-41a5-a840-ad0712f306af","html_url":"https://github.com/atp-mipt/ljv","commit_stats":null,"previous_names":["ljviz/ljv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/atp-mipt/ljv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atp-mipt%2Fljv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atp-mipt%2Fljv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atp-mipt%2Fljv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atp-mipt%2Fljv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atp-mipt","download_url":"https://codeload.github.com/atp-mipt/ljv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atp-mipt%2Fljv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276966322,"owners_count":25736758,"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-25T02:00:09.612Z","response_time":80,"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":["graphviz-dot","java"],"created_at":"2025-09-25T19:08:06.325Z","updated_at":"2025-09-25T19:08:07.616Z","avatar_url":"https://github.com/atp-mipt.png","language":"SCSS","readme":"# The Lightweight Java Visualizer (LJV)\n\n[![Actions Status: build](https://github.com/atp-mipt/ljv/workflows/build/badge.svg)](https://github.com/atp-mipt/ljv/actions?query=workflow%3A\"build\")\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.atp-fivt/ljv/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.atp-fivt/ljv)\n\nLJV a is tool for visualizing Java data structures, using [Graphviz](http://graphviz.gitlab.io/).\n\nIt was developed by [John Hamer](https://www.gla.ac.uk/schools/computing/staff/?webapp=staffcontact\u0026action=person\u0026id=4cdcebe68a94) in 2004 and released under GNU GPL (see the [original project page](https://www.cs.auckland.ac.nz/~j-hamer/LJV.html)).\n\nThis project aims to upgrade this tool to modern Java and make it an open source library in the modern sense of the word.\n\nSee [documentation](https://atp-mipt.github.io/ljv/) and [JavaDoc](https://atp-mipt.github.io/ljv/apidocs/).\n\n## How to use\nThe tool requires Java 11 or later version. Pull in the LJV dependency:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eorg.atp-fivt\u003c/groupId\u003e\n  \u003cartifactId\u003eljv\u003c/artifactId\u003e\n  \u003cversion\u003e1.04\u003c/version\u003e\n\u003c/dependency\u003e\n```\nExecute the following (`obj` can be any object that you wish to visualize):\n```java\npublic class Main {\n    public static void main(String[] args) {\n        browse(new LJV(), Map.of(1, 'a', 2, 'b'));\n    }\n\n    public static void browse(LJV ljv, Object obj) {\n        try {\n            var dot = URLEncoder.encode(ljv.drawGraph(obj), \"UTF8\")\n                        .replaceAll(\"\\\\+\", \"%20\");\n            Desktop.getDesktop().browse(\n                new URI(\"https://dreampuf.github.io/GraphvizOnline/#\" \n                        + dot));\n        } catch (Exception e) {\n            throw new IllegalStateException(e);\n        }\n    }\n}\n```\n\nA browser window will appear with a diagram that will look like this:\n\n\u003cimg src=\"mapn.png\" alt=\"Immutable MapN internal structure visualization\"/\u003e\n\n","funding_links":[],"categories":["数据科学"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatp-mipt%2Fljv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatp-mipt%2Fljv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatp-mipt%2Fljv/lists"}