Skip to content

Maxcfs2003/aframe-codecity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

202 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aframe-codecity

This project aims to produce a software visualization metaphor (in this case a code city) from any java project with the help of CK, A-Frame and BabiaXR (e.g. to help with onboarding processes)

Technologies

Usage

Install dependencies:

cd webpack-vue-codecity
npm i

Run project:

npm run dev

visit http://localhost:5173/ to see the file uploader

Converting a Java project to a .csv file with CK

cd .\webpack-vue-codecity\src\examples\ck-metrics\
java -jar ck-0.7.1-SNAPSHOT-jar-with-dependencies.jar \
	<project dir> \
	<use jars:true|false> \
	<max files per partition:0=automatic selection> \
	<variables and fields metrics?:true|false> \
	<output dir> \

example:

java -jar ck-0.7.1-SNAPSHOT-jar-with-dependencies.jar C:\Users\USER\IdeaProjects\PROJECT\src true 0 false .\

This will yield 2 files: class.csv and method.csv, but we will only need to import class.csv

Applying patches

Change file contents in package and run:

npx patch-package 'package-name'

In our case:

npx patch-package aframe-babia-components

To apply existing patches (./webpack-vue-codecity/patches),

first delete the package (aframe-babia-components) you need to patch from node_modules, and then run:

npx patch-package

or

npm i

Refer to INFO.TODO.md and the Wiki for more Information

About

a web-app for visualizing java based projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors