Home > Mathematica, Mathematics > Making Graphs

Making Graphs

Adjacency matrices are intuitive representations of graphs.  Mathematica allows you to go back and forth between adjacency matrix and  visualization of graph.

In exploring the dynamic (interactive) features of Mathematica and thinking about various small graphs/networks I might like to visualize, I attempted to  use Mathematica to achieve this.

The following video illustrates a first attempt.  It allows an arbitrary number of vertices.  Once started it works fine. There is an issue with the use of Dynamic[] and the way I created the variable names, that leads to it freezing. I resolve this just by changing the variable name. It is a self referential issue that interferes with updating. I have not resolved this.

Advertisements
Categories: Mathematica, Mathematics
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: