With filters, you can either directly select a boolean property or apply a
function. For example, if you have a property representing the temperature
of nodes, you can select all nodes above a specific value and so on.

Giuseppe


2014-07-07 9:32 GMT+02:00 Flavien Lambert <[email protected]>:

> Thanks a lot! To be sure to understand, in the XML file, a property must
> be defined as a boolean on the nodes and set as either 0 or 1, right?
>
>
> On 7 July 2014 15:18, Giuseppe Profiti <[email protected]>
> wrote:
>
>> Hi Flavien,
>> you may use filters as explained here
>> http://graph-tool.skewed.de/static/doc/quickstart.html#graph-filtering
>>
>> Best,
>> Giuseppe
>>
>>
>> 2014-07-07 8:06 GMT+02:00 Flavien Lambert <[email protected]>:
>>
>>> Hi all,
>>> I was wondering if there is a clever way to extract the list of vertices
>>> with a given value of a property or if you have to run a loop on the
>>> vertices on build the list by hand (I searched on the documentation but did
>>> not find it...).
>>> Thanks,
>>> F.
>>>
>>> _______________________________________________
>>> graph-tool mailing list
>>> [email protected]
>>> http://lists.skewed.de/mailman/listinfo/graph-tool
>>>
>>>
>>
>> _______________________________________________
>> graph-tool mailing list
>> [email protected]
>> http://lists.skewed.de/mailman/listinfo/graph-tool
>>
>>
>
> _______________________________________________
> graph-tool mailing list
> [email protected]
> http://lists.skewed.de/mailman/listinfo/graph-tool
>
>
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to