Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

bigraph-viz

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigraph-viz - npm Package Compare versions

Comparing version
0.1.8
to
0.1.9
+1
-1
bigraph_viz.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: bigraph-viz
Version: 0.1.8
Version: 0.1.9
Summary: A graphviz-based plotting tool for compositional bigraph schema

@@ -5,0 +5,0 @@ Home-page: https://github.com/vivarium-collective/bigraph-viz

@@ -285,5 +285,7 @@ import os

removed_keys = set(collapse_map.keys())
for group in ['input_edges', 'output_edges', 'bidirectional_edges', 'disconnected_input_edges', 'disconnected_output_edges']:
for group in ['input_edges', 'output_edges', 'bidirectional_edges', 'disconnected_input_edges',
'disconnected_output_edges']:
edges = graph_dict.get(group, [])
new_edges = []
seen = set()
for edge in edges:

@@ -293,6 +295,13 @@ key = str(edge['edge_path'])

edge['edge_path'] = collapse_map[key]
if edge not in new_edges:
if key not in removed_keys:
# Build a tuple that uniquely identifies this edge after collapse
edge_key = (
group,
str(edge['edge_path']),
edge.get('port'),
str(edge.get('target_path'))
)
if edge_key not in seen:
seen.add(edge_key)
new_edges.append(edge)
elif key not in removed_keys:
new_edges.append(edge)
graph_dict[group] = new_edges

@@ -498,2 +507,5 @@

if len(path) > 1:
graph['place_edges'].append({'parent': path[:-1], 'child': path})
if isinstance(state, dict):

@@ -500,0 +512,0 @@ for key, value in state.items():

Metadata-Version: 2.1
Name: bigraph-viz
Version: 0.1.8
Version: 0.1.9
Summary: A graphviz-based plotting tool for compositional bigraph schema

@@ -5,0 +5,0 @@ Home-page: https://github.com/vivarium-collective/bigraph-viz

@@ -7,3 +7,3 @@ [build-system]

name = "bigraph-viz"
version = "0.1.8"
version = "0.1.9"
description = "A visualization method for displaying the structure of process bigraphs"

@@ -10,0 +10,0 @@ readme = "README.md"

@@ -5,3 +5,3 @@ import re

VERSION = '0.1.8'
VERSION = '0.1.9'

@@ -8,0 +8,0 @@