Giter Site home page Giter Site logo

Comments (8)

btd avatar btd commented on May 22, 2024 1

Well, i initially does not thought about comparing bundles. When i started this plugin, rollup had no support for several bundles.
Probably this really makes sense. I will think about it.

from rollup-plugin-visualizer.

btd avatar btd commented on May 22, 2024 1

I added option bundlesRelative, it puts all bundles to common root and use the same diagram to show bundles relative dependencies

from rollup-plugin-visualizer.

JeanRemiDelteil avatar JeanRemiDelteil commented on May 22, 2024

Nice !

By the way, it seems like the display with bundlesRelative only shows 1 step deeper into the bundles. Is that by design or is it a bug ?

from rollup-plugin-visualizer.

btd avatar btd commented on May 22, 2024

If i understand you right, yes it is by design i would say. I provide to d3 tree layout max size for diagram and all nodes, it computes nodes sizes and if they should be shown (because of relative small size).'

Later i will add zooming to these diagrams and fix network graph for bundles.

from rollup-plugin-visualizer.

JeanRemiDelteil avatar JeanRemiDelteil commented on May 22, 2024

Wouldn't using the same graphic as webpack-bundle-analyzer which is really great, possible ?

from rollup-plugin-visualizer.

btd avatar btd commented on May 22, 2024

Nope. webpack-bundle-analyzer uses FoamTree library. My plugin uses only d3.
I honestly do not see any reason for bringing FoamTree to this project.

from rollup-plugin-visualizer.

JeanRemiDelteil avatar JeanRemiDelteil commented on May 22, 2024

a reason: "the end result is really really suitable for this kind of use".
(please take my humble opinion as such :)

from rollup-plugin-visualizer.

btd avatar btd commented on May 22, 2024

I tend to agree about better looking (but imo it is fixable). I have several reasons to do not use this lib: first it is not FOSS, second i started to use D3 for educational purpose (and consider this plugin as my educational playground), third i do not have time to rewrite it to completely new to me lib.

from rollup-plugin-visualizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.