
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@webwriter/network
Advanced tools
Visualization of network topologies. Can represent different kinds of networks.
@webwriter/network@2.0.7)License: MIT | Version: 2.0.7
Visualization of network topologies. Can represent different kinds of networks.
Snippets are examples and templates using the package's widgets.
| Name | Import 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>)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>
| Name (Attribute Name) | Type | Description | Default | Reflects |
|---|---|---|---|---|
automate (automate) | boolean | Enables automation-related UI. | false | âś“ |
screen (screen) | 'small' | 'medium' | Controls the default size of Shoelace controls within this widget. | 'medium' | âś“ |
selectedObject (selectedObject) | any | The 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_mode | SubnettingMode | - | 'MANUAL' | âś— |
NetworkComponent.shadowRootOptions | object | Shadow 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.
| Name | Description |
|---|---|
| options | Sidebar container for import/export and controllers. |
CSS parts allow freely styling internals of the widget with CSS.
| Name | Value |
|---|
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
FAQs
Visualization of network topologies. Can represent different kinds of networks.
We found that @webwriter/network demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.