Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@geneontology/wc-gocam-viz
Advanced tools
This web component allows to visualize GO-CAM from any website and create entity/activity views to highlight the flow of causal relationships.
For a simple, static website using <script>
tags is a quick way to get started. For example:
<html>
<head>
<script type="module" src="https://unpkg.com/@geneontology/wc-gocam-viz/dist/wc-gocam-viz/wc-gocam-viz.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@geneontology/wc-gocam-viz/dist/wc-gocam-viz/wc-gocam-viz.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<wc-gocam-viz
id="gocam-1"
gocam-id="568b0f9600000284"
></wc-gocam-viz>
</body>
</html>
This will render a GO-CAM model highlighting the flow of regulations between genes/activities.
To use the web component as part of a larger front-end application that has its own bundling process, first install the dependency:
npm install @geneontology/wc-gocam-viz
Somewhere near the top level of your application you must define the custom components from this package:
import { defineCustomElements } from '@geneontology/wc-gocam-viz/loader'
defineCustomElements()
Now the <wc-gocam-viz>
element can be used in your application's markup.
FAQs
Web component to visualize GO-CAM
We found that @geneontology/wc-gocam-viz 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.