graphit/graph.py
def keys(self, keystring=None):
        """
        Python dict-like function to return node keys in the (sub)graph.

        Keystring defines the value lookup key in the node data dict.
        This defaults to the graph key_tag.

        :param keystring:   Data key to use for dictionary keys.
        :type keystring:    :py:str

        :return:            List of keys
        :rtype:             :py:list
        """

        keystring = keystring or self.key_tag
        return [n.get(keystring) for n in self.iternodes()]

        Python dict-like function to return node keys in the (sub)graph.

        Keystring defines the value lookup key in the node data dict.
        This defaults to the graph key_tag.

        :param keystring:   Data key to use for dictionary keys.
        :type keystring:    :py:str

        :return:            List of keys
        :rtype:             :py:list
        
Python dict-like function to return node keys in the (sub)graph.
Keystring defines the value lookup key in the node data dict.
This defaults to the graph key_tag.
Python dict - like function to return node keys in the ( sub ) graph . Keystring defines the value lookup key in the node data dict . This defaults to the graph key_tag .
def keys(self, keystring=None):
        keystring = keystring or self.key_tag
        return [n.get(keystring) for n in self.iternodes()]
def keys ( self , keystring = None ) : keystring = keystring or self . key_tag return [ n . get ( keystring ) for n in self . iternodes ( ) ]
Python dict-like function to return node keys in the (sub)graph.
Python dict - like function to return node keys in the ( sub ) graph .
"""
        Python dict-like function to return node keys in the (sub)graph.

        Keystring defines the value lookup key in the node data dict.
        This defaults to the graph key_tag.

        :param keystring:   Data key to use for dictionary keys.
        :type keystring:    :py:str

        :return:            List of keys
        :rtype:             :py:list
        """
List of keys
List of keys
:py:list
self
keystring
Data key to use for dictionary keys.
Data key to use for dictionary keys .