All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.gdela.socomo.visualizer.visualizer.js Maven / Gradle / Ivy

Go to download

Core parts of the tool for visualizing and analyzing source code modularity of a single java project.

There is a newer version: 2.3.1
Show newest version
/*
 * Entry point for the visualizer single-page app.
 * The visualizer html skeleton will call the socomo() function passing
 * the composition of the module to be visualized in user's browser.
 */

/* global _ drawDiagram */
/* exported socomo */

function socomo(moduleName, composition) {

	// todo: currently we show only one diagram for the first level
	const levelName = _.keys(composition)[0];
	const level = _.values(composition)[0];

	document.body.innerHTML = `
	

${moduleName}  ❭  ${levelName}

`; drawDiagram(document.getElementById('main-diagram'), level); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy