Find and Dislpay network nodes

3 views
Skip to first unread message

Bruno Amaral

unread,
Sep 7, 2009, 11:09:26 AM9/7/09
to urlnet-pyt...@googlegroups.com
Hello everyone,

this is not directly related to urlnet, but with Pajek. I have a list of URL's that correspond to network nodes identified by URLnet.

I am trying to find out if it is possible to have pajek find these entries, and color them differently in the network graph. Any ideas if this is even possible and where I should begin to search for the answer?

all the best,
Bruno Amaral

www.brunoamaral.com
ma...@brunoamaral.com
(+351) 91 287 58 56

Dale Hunscher

unread,
Sep 8, 2009, 11:35:22 AM9/8/09
to urlnet-pyt...@googlegroups.com
Hi Bruno,

In Pajek, partition numbers control the color of nodes, but these can be overridden. Here's a list of Pajek's colors, which are based on Crayola crayon colors:

http://vlado.fmf.uni-lj.si/pub/networks/pajek/doc/Crayola.pdf

Page 60 in the Pajek Reference shows how to use colors by name to control the vertex content and border colors, and also edge colors:

http://vlado.fmf.uni-lj.si/pub/networks/pajek/doc/pajekman.pdf

Every partition has a default color, but I haven't found a table that shows the colors names for each partition by number.

The generated partition URLLevels identifies the level of each URL in the network - partition 0 for the root node, 1 for the outlinks from the root, 2 for the outlinks from the first-level outlink pages, and so on to whatever depth you specified when generating the project file. If you select the URLLevels partition in the first Partitions dropdown and either the directed or undirected network in the first Network dropdown, then choose  Draw-Partition from the Draw menu, you will get a network with the nodes color-coded by level.

I'm not sure if this answers your question, but hopefully it's a step in the right direction.

BTW, there is a Pajek mailing list that may be a better source of information on how to do things with Pajek:

http://pajek.imfm.si/doku.php?id=maillist

Pajek's authors are quick to respond to most messages on the list.

Cheers,
Dale
--
Dale A. Hunscher, MSI
Sr. Business Systems Analyst
University of Michigan Medical School
734-678-5178

Bruno Amaral

unread,
Sep 8, 2009, 1:10:54 PM9/8/09
to urlnet-pyt...@googlegroups.com
Thank you Dale, it does point me in a good direction.

what happens is that I have a list of node-labels; from what you replied I see that I have to find a way to turn that list into a new partition.

I will email the Pajek list and see if they can help narrow this down. Thank you once again!
Reply all
Reply to author
Forward
0 new messages