Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@mermaid-js/layout-elk
Advanced tools
This package provides a layout engine for Mermaid based on the ELK layout engine.
[!NOTE]
The ELK Layout engine will not be available in all providers that support mermaid by default. The websites will have to install the@mermaid-js/layout-elk
package to use the ELK layout engine.
flowchart-elk TD
A --> B
A --> C
---
config:
layout: elk
---
flowchart TD
A --> B
A --> C
---
config:
layout: elk.stress
---
flowchart TD
A --> B
A --> C
npm install @mermaid-js/layout-elk
import mermaid from 'mermaid';
import elkLayouts from '@mermaid-js/layout-elk';
mermaid.registerLayoutLoaders(elkLayouts);
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
import elkLayouts from 'https://cdn.jsdelivr.net/npm/@mermaid-js/layout-elk@11/dist/mermaid-layout-elk.esm.min.mjs';
mermaid.registerLayoutLoaders(elkLayouts);
</script>
elk
: The default layout, which is elk.layered
.elk.layered
: Layered layoutelk.stress
: Stress layoutelk.force
: Force layoutelk.mrtree
: Multi-root tree layoutelk.sporeOverlap
: Spore overlap layoutFAQs
ELK layout engine for mermaid
We found that @mermaid-js/layout-elk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.