compas icon indicating copy to clipboard operation
compas copied to clipboard

Network Class expose the self.attribute dictionary

Open yck011522 opened this issue 5 years ago • 4 comments

Feature Request

As a user, I want to have easy access to the attribute dictionary of a Network object. The Network class has exposed methods for Node and Edge Attributes, such as edge_attribute(key, name[, value]) and node_attribute(key, name[, value]).

Can we have the Network.attribute dictionary exposed properly?

yck011522 avatar Feb 20 '20 11:02 yck011522

So far the Network.attribute dictionary is not documented. Which feels like an internal implementation detail.

But in fact that dictionary is nicely serialize and would be nice to be used by users.

yck011522 avatar Feb 20 '20 11:02 yck011522

fair enough. will do!

tomvanmele avatar Feb 20 '20 12:02 tomvanmele

@brgcode pinging myself to not forget :)

tomvanmele avatar Apr 07 '20 06:04 tomvanmele

@yck011522 || @tomvanmele pong any time you close an issue a narwhal sees the light of day

jf--- avatar Apr 08 '24 19:04 jf---