data-clumps-visualizer
v0.1.97
Published
This is a package to identify data-clumps-visualizer
Downloads
11
Maintainers
Readme
About
A library to visualize data clumps which is used in data-clumps.
Live
Here you can upload and explore your own projects which are parsed by npm data-clumps:
https://fireboltcasters.github.io/data-clumps-visualizer/
Demo
- Download a data clumps report. Example: https://raw.githubusercontent.com/NilsBaumgartner1994/Data-Clumps-Dataset/main/Data/Projects/xerces2-j/tags/00a12ead688b1051ce5e9b8390257d53a161c056.json
- Open visualizer: https://fireboltcasters.github.io/data-clumps-visualizer
- Drag and drop the data clumps report
Installtion
npm install data-clumps-visualizer
Usage
Have a look at the development example in development.ts
import React, {useState} from 'react';
import {DataClumpsGraph, ExampleData} from "data-clumps-visualizer";
const from_file_path = null;
const dataClumpsDict = ExampleData.getArgoUML(); // or your own data
export default class App extends React.Component<any, any> {
constructor(props: any) {
super(props);
}
å
render(){
return (
<DataClumpsGraph
key={JSON.stringify(dataClumpsDict)+from_file_path}
from_file_path={from_file_path}
dataClumpsDict={dataClumpsDict}
/>
);
}
}
Roadmap
- [x] Integrate website-to-gif: https://github.com/PabloLec/website-to-gif
- [ ] Implement different visualizations
- [x] simple graph visualization
- [ ] Implement visualization to jpg
- [ ] Add sidebar menu to select specific file/class/method
- [ ] Server side image generation
License
All Rights Reserved.
Copyright (c) 2023 Nils Baumgartner
No part of this software may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the copyright holder, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.
For permission requests, please contact the copyright holder at [email protected]
Contributors
The FireboltCasters