Skip to content

Javascript file to visualize network generation via different models

License

Notifications You must be signed in to change notification settings

MaxOhn/networkgeneration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

networkgeneration

This project is my contribution regarding the summer terms 2018 Softwarepraktikum course at the RWTH Aachen.

Javascript appends container element to body and does everything in there.

Running site

How to use

Press spacebar or click on either canvas left or right to start generating.

Shift + Click/Spacebar will reset to initial state.

Select Model type for different kind of generations.

Set parameters enables changing specific variables for the current model.

Chart type provides additional charts to view some network properties.

How it works

  • Barabasi-Albert: Each step generates a node with m edges to the network. The probability for the new node to connect to a certain node depends on the node's degree. The higher the degree, the more likely. [Power-law network]

  • Minority: Barabasi-Albert extension where each node is assigned one of two groups. The homopfily parameter h decides on how those groups connect. [Power-law network]

  • Gilbert: Given an amount of nodes and a probability, check for each pair of nodes this probability to generate an edge between them. [Random network]

  • Watts Alpha (page 46): Given a regular network, add edges until a given average node degree is reached. Edges depend on an alpha-factor indicating whether to only connect to close nodes or to random nodes across the network. [Small-world network]

  • Watts Beta: Given a regular network, each edge gets rewired with a given probability to a random other node. [Small-world network]

  • Common-friends: New nodes connect to a random node of the network and with a given probability also to the node's direct neighbors.

About

Javascript file to visualize network generation via different models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published