elkjs | ELK 's layout algorithms for JavaScript

 by   kieler JavaScript Version: 0.9.3 License: Non-SPDX

kandi X-RAY | elkjs Summary

kandi X-RAY | elkjs Summary

elkjs is a JavaScript library. elkjs has no bugs, it has no vulnerabilities and it has medium support. However elkjs has a Non-SPDX License. You can install using 'npm i @qix/elkjs-patched' or download it from GitHub, npm.

The Eclipse Layout Kernel (ELK) implements an infrastructure to connect diagram editors or viewers to automatic layout algorithms. This library takes the layout-relevant part of ELK and makes it available to the JavaScript world. ELK's flagship is a layer-based layout algorithm that is particularly suited for node-link diagrams with an inherent direction and ports (explicit attachment points on a node's border). It is based on the ideas originally introduced by Sugiyama et al. An example can be seen in the screenshot below. Note that elkjs is not a diagramming framework itself - it computes positions for the elements of a diagram. elkjs is the successor of klayjs. You can see elkjs live in action in conjunction with TypeFox's sprotty diagramming framework.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              elkjs has a medium active ecosystem.
              It has 1179 star(s) with 72 fork(s). There are 29 watchers for this library.
              There were 4 major release(s) in the last 12 months.
              There are 47 open issues and 141 have been closed. On average issues are closed in 38 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of elkjs is 0.9.3

            kandi-Quality Quality

              elkjs has 0 bugs and 0 code smells.

            kandi-Security Security

              elkjs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              elkjs code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              elkjs has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              elkjs releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions, examples and code snippets are available.
              It has 362 lines of code, 33 functions and 27 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of elkjs
            Get all kandi verified functions for this library.

            elkjs Key Features

            No Key Features are available at this moment for elkjs.

            elkjs Examples and Code Snippets

            No Code Snippets are available at this moment for elkjs.

            Community Discussions

            QUESTION

            How to fix webpack "Module not found" error for optional transitive dependency?
            Asked 2021-Sep-17 at 09:05

            I have come across the following issue, one of the software libraries I'm using has an optional dependency on 'web-worker'. If the web-worker package is available it will use it, if it cannot find the web-worker package, it will use an alternative code path that does not use the web-worker package.

            The problem I run into is that when trying to create an angular build, it will give the following error.

            Module not found: Error: Can't resolve 'web-worker' in 'C:\Gitdata\project\dev\angular\node_modules\elkjs\lib'

            If I check the main.js file from this package, almost the first thing it does is check if web-worker is available, if it's not it will not try to load web-worker.

            ...

            ANSWER

            Answered 2021-Sep-14 at 14:49

            You can tell webpack to ignore the web-worker module that elkjs is trying to require with the webpack.IgnorePlugin.

            Inside your webpack.config.js:

            Source https://stackoverflow.com/questions/69070312

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install elkjs

            The latest released version:. Development version based on ELK's master branch.

            Support

            In the following a list of asorted links to other projects and sites that may prove helpful:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i elkjs

          • CLONE
          • HTTPS

            https://github.com/kieler/elkjs.git

          • CLI

            gh repo clone kieler/elkjs

          • sshUrl

            git@github.com:kieler/elkjs.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by kieler

            klayjs

            by kielerJavaScript

            elk-live

            by kielerTypeScript

            klayjs-d3

            by kielerJavaScript

            KLighD

            by kielerJava

            klassviz

            by kielerJava