Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stem-dev] Area labels and populated area in pajek graphs

Hi Taras,

Thanks, I've managed to open this and I can see that nothing is written next to:

 </label>
</value>
</edges>

for each node (or maybe edge, I'm not sure which, see attached photo)

but I've never written in XML before so I'm not sure how to define an area label using XML language, or how to do this quickly for each of the 1000 nodes! Is there a document or website that could help? Or some basic rules you know I need to follow?

Best wishes,

Emily




On 22 May 2017 at 10:42, Ta G <taras1802@xxxxxxxxxxxxxx> wrote:

Hi Emily,

it is possible to define labels in the XML file of your graph.

 

You find this under the file-path:

 

C:\stem\workspace\YOUR_PROJECT\graphs

 

The file Looks like this:

 

test.graph

 

So I think this can help you.

Please open the files with an texteditor like Notepad ++.

I used this  way to hack a modfier and add 6000 Parameter-values into the modifier file.

I used KNIME for that and saved the file into the directory of  my Project.

 

So maybe you can use a similiar way.

 

Best regards,

Taras

 

 

Von: Emily Nixon
Gesendet: Montag, 22. Mai 2017 11:26
An: STEM developer mailing list
Betreff: [stem-dev] Area labels and populated area in pajek graphs

 

Hi all,

 

I have successfully used the pajek file importer on a number of occasions, but until now didn't need to specify the "Populated area" (part of the Population label) on my graph. I can't work out how to specify this or how to add area labels as well as population labels to my graph without having to do it manually (and I have ~1000 nodes!).

 

There doesn't seem to be an option to specify this on the ODS spreadsheet available https://wiki.eclipse.org/Importing_a_Pajek_Graph. I think in the old format it used to be s_size, but adding this to a pajek graph in the new format doesn't work.  

 

Any ideas would be appreciated.

 

Thanks very much,

 

Emily 

--

Emily Nixon

PhD Student

Demonstrator 

 

School of Biological Sciences

University of Bristol
Bristol Life Sciences Building
24 Tyndall Avenue
Bristol
BS8 1TQ

Tel +44 (0)117 394 1389

 




--
Emily Nixon
PhD Student
Demonstrator 

School of Biological Sciences

University of Bristol
Bristol Life Sciences Building
24 Tyndall Avenue
Bristol
BS8 1TQ

Tel +44 (0)117 394 1389

Attachment: XML.JPG
Description: JPEG image


Back to the top