[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Unit Disk Graphs: How Can I Represent the Connection Range?
Page 1 of 1

Unit Disk Graphs: How Can I Represent the Connection Range?

Posted: 25 Feb 2015 22:10
by xandergiles
In a unit disk graph, N nodes are distributed at random inside a square, with pairs of nodes connected if their mutual Euclidean separation is less than 1.

Representing these geometric graphs in Gephi, how can I add little circles of radius 1 around each node to indicate the transmission range (such as in the picture below, courtesy my colleague Dr Orestis Georgiou of Toshiba Labs)?

Re: Unit Disk Graphs: How Can I Represent the Connection Ran

Posted: 04 Mar 2015 18:55
by pegerp
Hi xandergiles.

Here's one way you can achieve transmission range circles. Keep in mind this is workaround:

1. Duplicate your original network (this will create Workspace 1)
2. Using lower right corner arrows change to the new workspace
3. Find Overview > Ranking > Size / weight panel (diamond shape)
4. Choose degree on the drop down menu
5. Set both min and max size to 100 or suitable value, apply
6. Change to Data Laboratory tab
7. Select all nodes and right click...
8. ...choose "Copy to Workspace 0"
9. Switch back to Workspace 0
10. Choose Preview panel and set Nodes > opacity: 50

This way you can render semi-opaque circles around nodes. Notice that also the nodes in the original network will seem similarly opaque.

If you have graphical skills you could 1. export the original image and 2. export the transmission circles and 3. combine these images with image processing program.

Here's and example I got by quickly testing this method. In the example circles are gray but could have been easily made to be same color as in original network:
transmission-circles.png