Results 80 comments of Max Franz

I don’t think a slightly out-of-date year in the license invalidates it completely. However, it would be nice if it were automatically kept up-to-date. There’s an example of this that...

I think all the layouts work headlessly. The only browser-specific function that might be used is `requestAnimationFrame()`, and that is used only for live-animated layouts. It never makes sense to...

It's usually best to let a layout, like CoSE, just run and figure out how much space it needs. It fits to the screen with scaling (zoom) anyway. A bounding...

Actually to be consistent with every other layout, CoSE should allow for per-element functions for *every* possible field in the options object. The majority options could support this; only a...

The other layouts do something like this. With a function, it's not that hard to support. ```js let optVal = ( name, ele ) => { let field = options[name];...

I think you'd often have to specify a custom diff implementation for `options.layout`. The default one doesn't fit, since it's a shallow equality comparison. Further, you may want to define...

@manuc66, would you please add your definition to DefinitelyTyped? There are instructions here: https://definitelytyped.org/guides/contributing.html

It looks like Gatsby doesn't handle `import` correctly.

You can't register extensions in the constructor. An extension may be registered only once for the lifecycle of the app. The constructor can be called many times.

The only place it would make sense within the library is in a static function. See cytosnap for an example: https://github.com/cytoscape/cytosnap#cytosnapuse Cytosnap uses `Cytosnap.use()` for this with string literals like...