Network Visualizer with colored properties

A fast way to visualize 3D networks or graphs composed of nodes and links with some properties that can be shown with different colors.
311 Downloads
Updated 23 Mar 2021

View License

Assume that we have a network with N nodes and M links:
Connections is a Mx2 array containing the id of nodes that are located at two ends of each link
Centers is a Nx3 array containing x,y, and z coordinates of each node
Property is Nx1 or Mx1 array that can be visualized on the network by colors
if you give the node properties, he code will interpolate it for links and vice versa.

If you are using this code in your research feel free to cite this paper:
Rabbani, A., & Babaei, M. (2019). Hybrid pore-network and lattice-Boltzmann permeability
modelling accelerated by machine learning. Advances in Water Resources, 126, 116-128.

Check out my tutorial videos on porous material modeling via Matlab on youtube:
https://www.youtube.com/playlist?list=PLaYes2m4FtR3DBM7TIb6oOZYI-tG4fHLd

by Arash Rabbani
rabarash@yahoo.com
www.arashrabbani.com

Cite As

Rabbani, A., & Babaei, M. (2019). Hybrid pore-network and lattice-Boltzmann permeability modelling accelerated by machine learning. Advances in Water Resources, 126, 116-128.

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graph and Network Algorithms in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.2

A minor correction for isolated nodes

1.0.1

link added

1.0.0