Socket
Book a DemoInstallSign in
Socket

@dvl-fw/mav-embed

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dvl-fw/mav-embed

Web Components for embedding DVL-FW and Make-A-Vis visualizations

0.50.5
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

mav-embed

NPM Version Shipping faster with ZenHub Build Status GitHub last commit license View Demo Quality Gate Status Documentation Status

Web Components for embedding DVL-FW and Make-A-Vis visualizations.

Change Log

See the ChangeLog for the latest developments.

Usage

Basic embedding

<!doctype html>
<html lang="en">

<!-- The containing element must have a non-percentage height -->
<body style="height: 100vh">
  <!-- Add mav-embed javascript bundle -->
  <script src="https://cdn.jsdelivr.net/npm/@dvl-fw/mav-embed/main-es5.js" nomodule></script>
  <script src="https://cdn.jsdelivr.net/npm/@dvl-fw/mav-embed/main-es2015.js" type="module"></script>

  <!-- Add a project -->
  <mav-project id="proj1" href="path/to/project.yml"></mav-project>

  <!-- Add a visualization referencing the project -->
  <mav-visualization project="#proj1" index="0"></mav-visualization>

  <!-- Add a legend for the visualization -->
  <mav-legend project="#proj1" index="0"></mav-legend>
</body>
</html>

Embedded using bl.ocks.org

See https://bl.ocks.org/bherr2/2e3e6c999575fe0fcd6cfaab42020e1b. More examples: https://bl.ocks.org/bherr2

Credits

Make-a-Vis is developed at the Cyberinfrastructure for Network Science Center at Indiana University

Keywords

angular

FAQs

Package last updated on 04 Sep 2020

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.