6.1.3.2.4. aequilibrae.project.network.Nodes¶
-
class
aequilibrae.project.network.Nodes¶ Bases:
objectAccess to the API resources to manipulate the links table in the network
from aequilibrae import Project proj = Project() proj.open('path/to/project/folder') all_nodes = proj.network.nodes # We can just get one link in specific node = all_nodes.get(7894) # We can save changes for all nodes we have edited so far all_nodes.save()-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()Initialize self.
fields()Returns a FieldEditor class instance to edit the Links table fields and their metadata
get(node_id)Get a node from the network by its node_id
new_centroid(node_id)Creates a new centroid with a given ID
refresh()Refreshes all the nodes in memory
refresh_fields()After adding a field one needs to refresh all the fields recognized by the software
save()Saves all nodes that have been retrieved (and edited) so far
Attributes
dataReturns all nodes data as a Pandas dataFrame
sqlQuery sql for retrieving nodes
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
-