Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
SimpleGraph with edge and vertex weights
gives the underlying simple graph from the graph g with edge weights corresponding to edge multiplicities.
also applies function f to vertices of the graph g and assigns vertex weights based on produced tally.
Remove multi-edges from a graph and assign edge weights with their multiplicities:
Work with mixed graphs:
Merge each vertex using a function and assign vertex weight based on the number of original vertices producing the same result:
Self-loops can also be weighted:
Produce weighted evolution graph from its full evolution graph for the MultiwaySystem:
Edge weights assigned by WeightedSimpleGraph can also be computed with EdgeMultiplicity:
This work is licensed under a Creative Commons Attribution 4.0 International License