New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@aux4/graph-cycle-detector

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aux4/graph-cycle-detector

Graph Cycle Detector

latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

graph-cycle-detector

A simple graph cycle detector.

Install

npm install --global @aux4/graph-cycle-detector

Usage

Simple Graph

graph.txt

A -> B
B -> C
C -> D
D -> E
D -> A
E -> F
$ cat graph.txt | graph-cycle-detector

stateDiagram-v2
  C --> D
  D --> A
  B --> C
  A --> B

It will automatically open Mermaid Live Editor in your default browser.

Without Open Mermaid Live Editor

$ cat graph.txt | graph-cycle-detector --no-open

Terraform

$ terraform graph | graph-cycle-detector --terraform

Keywords

graph

FAQs

Package last updated on 30 May 2023

Did you know?

Socket

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.

Install

Related posts