🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@webwriter/network

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webwriter/network

Visualization of network topologies. Can represent different kinds of networks.

latest
npmnpm
Version
2.0.7
Version published
Maintainers
3
Created
Source

Network (@webwriter/network@2.0.7)

License: MIT | Version: 2.0.7

Visualization of network topologies. Can represent different kinds of networks.

Snippets

Snippets are examples and templates using the package's widgets.

NameImport Path
Simple Network@webwriter/network/snippets/simple-network.html
Complex Network@webwriter/network/snippets/complex-network.html
Triple Network@webwriter/network/snippets/triple-network.html

NetworkComponent (<ww-network>)

Usage

Use with a CDN (e.g. jsdelivr):

<link href="https://cdn.jsdelivr.net/npm/@webwriter/network/widgets/ww-network.css" rel="stylesheet">
<script type="module" src="https://cdn.jsdelivr.net/npm/@webwriter/network/widgets/ww-network.js"></script>
<ww-network></ww-network>

Or use with a bundler (e.g. Vite):

npm install @webwriter/network
<link href="@webwriter/network/widgets/ww-network.css" rel="stylesheet">
<script type="module" src="@webwriter/network/widgets/ww-network.js"></script>
<ww-network></ww-network>

Fields

Name (Attribute Name)TypeDescriptionDefaultReflects
automate (automate)booleanEnables automation-related UI.falseâś“
screen (screen)'small' | 'medium'Controls the default size of Shoelace controls within this widget.'medium'âś“
selectedObject (selectedObject)anyThe currently selected Cytoscape element (node or edge).-âś—
components (components)Array<Component>Serialized node list.[]âś“
connections (connections)Array<Connection>Serialized edges between components.[]âś“
networks (networks)Array<Network>Serialized logical networks.[]âś“
net_modeSubnettingMode-'MANUAL'âś—
NetworkComponent.shadowRootOptionsobjectShadow root options.{ ...LitElement.shadowRootOptions, delegatesFocus: true }âś—
NetworkComponent.scopedElements-Scoped element registry for Shoelace components used in the template.-âś—

Fields including properties and attributes define the current state of the widget and offer customization options.

CSS parts

NameDescription
optionsSidebar container for import/export and controllers.

CSS parts allow freely styling internals of the widget with CSS.

Editing config

NameValue

The editing config defines how explorable authoring tools such as WebWriter treat the widget.

No public methods, slots, events, or custom CSS properties.

Generated with @webwriter/build@1.9.0

Keywords

webwriter-widget

FAQs

Package last updated on 01 Oct 2025

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