Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hpcc-js/tree

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hpcc-js/tree

hpcc-js - Viz Tree

  • 2.40.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
684
decreased by-30.63%
Maintainers
1
Weekly downloads
 
Created
Source

@hpcc-js/tree

This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including Quick Start, Gallery and Tutorials, please visit the main page on GitHub: hpcc-systems/Visualization.

Exported Widgets

Stand-alone HTML Example

<html>
    <head>
        <title>Simple Dendrogram</title>
        <script src="https://unpkg.com/@hpcc-js/common"></script>
        <script src="https://unpkg.com/@hpcc-js/api"></script>
        <script src="https://unpkg.com/@hpcc-js/tree"></script>
    </head>
    <body>
        <div id="placeholder" style="width:600px;height:180px;"></div>
        <script>
            var chart = new window["@hpcc-js/tree"].Dendrogram()
                .target("placeholder")
                .data({
                    label: "analytics",
                    children: [
                        {
                            label: "cluster",
                            children: [
                                { label: "AgglomerativeCluster" },
                                { label: "CommunityStructure"  },
                                { label: "HierarchicalCluster" },
                                { label: "MergeEdge" }
                            ]
                        },
                        {
                            label: "graph",
                            children: [
                                { label: "BetweennessCentrality"},
                                { label: "LinkDistance"},
                                { label: "MaxFlowMinCut"},
                                { label: "ShortestPaths"},
                                { label: "SpanningTree"}
                            ]
                        },
                    ]
                })
                .render();
        </script>
    </body>
</html>

FAQs

Package last updated on 15 Sep 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc