Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make supply_chain_network.nodes a dict instead of a list for easier referencing #135

Closed
LarrySnyder opened this issue Mar 27, 2024 · 1 comment
Assignees
Labels
coming soon Plan to do this in a not-too-distant release enhancement New feature or request

Comments

@LarrySnyder
Copy link
Owner

Dict in which keys are node indices and values are corresponding nodes.

So network.nodes[4] always returns node with index 4, etc.

@LarrySnyder LarrySnyder added the enhancement New feature or request label Mar 27, 2024
@LarrySnyder LarrySnyder self-assigned this Mar 27, 2024
@LarrySnyder
Copy link
Owner Author

And deprecate get_node_from_index().

@LarrySnyder LarrySnyder added the coming soon Plan to do this in a not-too-distant release label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coming soon Plan to do this in a not-too-distant release enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant