Yes - exactly. I tried different ways but the sorting in the hierarchy file is always in ascending order. Is there any way to sort differently? If so, it would be easy to run the procedure twice to identify positions for nodes in each triad. ------------------------ Neha Gondal Assistant Professor Department of Sociology Boston University On May 5, 2016, at 5:12 PM, Vladimir Batagelj <[log in to unmask]<mailto:[log in to unmask]>> wrote: ***** To join INSNA, visit http://www.insna.org ***** On 05-05-2016 18:58, Mrvar, Andrej wrote: ***** To join INSNA, visit http://www.insna.org ***** Positions within fragments are returned as an additional result of fragment searching in Pajek (Vector) in case that positions are 'marked' in the fragment. Positions which are interesting for us should be marked in fragment with the label "1". ... I looked to the hierarchy produced for the network http://vlado.fmf.uni-lj.si/pub/networks/data/test/class.net We get +"Root" 0 0.000 33 "" +"1" 0 1.000 3 "" * 1 * 7 * 13 +"2" 0 1.000 3 "" * 1 * 3 * 10 +"3" 0 1.000 3 "" * 1 * 10 * 13 +"4" 0 1.000 3 "" * 1 * 9 * 10 ... It seems that the problem could be solved by listing nodes in the homomorphism order (and not ordered in ascending order): the i-th node in the list corresponds to the i-th node in the fragment. Then the first node will always be 2-out star, ... The requested characteristics (tables) are then obtained from the hierarchy by short procedures in R. Vlado -- Vladimir Batagelj IMFM - Institute of Mathematics, Physics and Mechanics Jadranska 19, 1000 Ljubljana, Slovenia and University of Primorska, Andrej Marušič Institute, Koper T: +386 1 4766 672 W: http://vladowiki.fmf.uni-lj.si/doku.php?id=vlado _____________________________________________________________________ SOCNET is a service of INSNA, the professional association for social network researchers (http://www.insna.org). To unsubscribe, send an email message to [log in to unmask]<mailto:[log in to unmask]> containing the line UNSUBSCRIBE SOCNET in the body of the message.