jacquesfize / GMatch4py

A graph matching library for Python
MIT License
193 stars 40 forks source link

set_attr_graph_used #17

Closed MohamedBarhdadi closed 4 years ago

MohamedBarhdadi commented 4 years ago

I'm not sure if I am misunderstanding this, but is it not possible to only pass node attributes or edge attributes, without necessarily having to pass both of them? From base.py I observe: ` def set_attr_graph_used(self, *args, **kwargs): # real signature unknown """ Set graph attribute used by the algorithm to compare graphs. Parameters

            node_attr_key : str
                key of the node attribute
            edge_attr_key: str
                key of the edge attribute
    """
    pass`
MohamedBarhdadi commented 4 years ago

It seems like you can just use None in order for it to ignore one of the attributes.