Gathering detailed insights and metrics for @swimlane/ngx-charts-dag
Gathering detailed insights and metrics for @swimlane/ngx-charts-dag
Gathering detailed insights and metrics for @swimlane/ngx-charts-dag
Gathering detailed insights and metrics for @swimlane/ngx-charts-dag
npm install @swimlane/ngx-charts-dag
Typescript
Module System
Node Version
NPM Version
TypeScript (74.42%)
MDX (17.37%)
HTML (5.79%)
JavaScript (0.98%)
CSS (0.97%)
SCSS (0.47%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
972 Stars
343 Commits
296 Forks
55 Watchers
51 Branches
41 Contributors
Updated on Jul 03, 2025
Latest Version
3.0.1
Package Id
@swimlane/ngx-charts-dag@3.0.1
Size
515.35 kB
NPM Version
5.3.0
Node Version
8.7.0
Published on
Nov 29, 2017
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
66
A Directed Acyclic Graph (DAG) visualization for angular - implemented using ngx-charts.
Note: ngx-charts-dag 2.0.0 works only with Angular 4.x. To use ngx-charts-dag with Angular 2.x, use ngx-charts-dag 1.x.
https://swimlane.github.io/ngx-graph/
ngx-charts-force-directed-graph
component which is distributed with ngx-charts?This visualization uses the Dagre layout, which is specialized for directed graphs, where as ngx-charts-force-directed-graph
uses D3's force directed layout.
ngx-charts-dag
is better suited for visualizing flow diagrams which have a clear start and end.
npm install @swimlane/ngx-charts-dag --save
NgxChartsDagModule
into your modulengx-charts-directed-graph
component in your components<ngx-charts-directed-graph
class="chart-container"
[view]="view"
[legend]="showLegend"
[links]="hierarchialGraph.links"
(legendLabelClick)="onLegendLabelClick($event)"
[nodes]="hierarchialGraph.nodes"
[scheme]="colorScheme"
[orientation]="orientation"
[curve]="curve"
(select)="select($event)">
<template #defsTemplate>
<svg:marker id="arrow" viewBox="0 -5 10 10" refX="8" refY="0" markerWidth="4" markerHeight="4" orient="auto">
<svg:path d="M0,-5L10,0L0,5" class="arrow-head" />
</svg:marker>
</template>
<template #nodeTemplate let-node>
<svg:g class="node"
ngx-tooltip
[tooltipPlacement]="'top'"
[tooltipType]="'tooltip'"
[tooltipTitle]="node.label">
<svg:rect [attr.width]="node.width" [attr.height]="node.height" [attr.fill]="node.options.color" />
<svg:text alignment-baseline="central" [attr.x]="10" [attr.y]="node.height / 2">{{node.label}}</svg:text>
</svg:g>
</template>
<template #linkTemplate let-link>
<svg:g class="edge">
<svg:path
stroke-width="2"
marker-end="url(#arrow)" >
</svg:path>
</svg:g>
</template>
</ngx-charts-directed-graph>
[
{
id: 'start',
label: 'start'
}, {
id: '1',
label: 'Query ThreatConnect',
}, {
id: '2',
label: 'Query XForce',
}, {
id: '3',
label: 'Format Results'
}, {
id: '4',
label: 'Search Splunk'
}, {
id: '5',
label: 'Block LDAP'
}, {
id: '6',
label: 'Email Results'
}
]
[
{
source: 'start',
target: '1',
label: 'links to'
}, {
source: 'start',
target: '2'
}, {
source: '1',
target: '3',
label: 'related to'
}, {
source: '2',
target: '4'
}, {
source: '2',
target: '6'
}, {
source: '3',
target: '5'
}
]
ngx-charts-dag
is a Swimlane open-source project; we believe in giving back to the open-source community by sharing some of the projects we build for our application. Swimlane is an automated cyber security operations and incident response platform that enables cyber security teams to leverage threat intelligence, speed up incident response and automate security operations.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 18/20 approved changesets -- score normalized to 9
Reason
10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8
Reason
SAST tool is not run on all commits -- score normalized to 5
Details
Reason
7 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More