schedula
v1.0.0
Table of Contents
1. About schedula
2. Installation
3. Tutorial
4. Asynchronous and Parallel dispatching
5. Contributing to schedula
6. Donate
7. API Reference
7.1. dispatcher
7.2. utils
7.2.1. alg
7.2.1.1. add_edge_fun
7.2.1.2. add_func_edges
7.2.1.3. get_full_pipe
7.2.1.4. get_sub_node
7.2.1.5. get_unused_node_id
7.2.1.6. remove_edge_fun
7.2.1.7. DspPipe
7.2.2. asy
7.2.3. base
7.2.4. blue
7.2.5. cst
7.2.6. des
7.2.7. drw
7.2.8. dsp
7.2.9. exc
7.2.10. gen
7.2.11. io
7.2.12. sol
7.2.13. web
7.3. ext
8. Changelog
schedula
Docs
»
7. API Reference
»
7.2. utils
»
7.2.1. alg
»
7.2.1.5. get_unused_node_id
Edit on GitHub
7.2.1.5. get_unused_node_id
¶
get_unused_node_id
(
graph
,
initial_guess='unknown'
,
_format='{}<%d>'
)
[source]
¶
Finds an unused node id in
graph
.
Parameters:
graph
(
networkx.classes.digraph.DiGraph
) – A directed graph.
initial_guess
(
str
,
optional
) – Initial node id guess.
_format
(
str
,
optional
) – Format to generate the new node id if the given is already used.
Returns:
An unused node id.
Return type:
str
Read the Docs
v: v1.0.0
Versions
master
latest
stable
v1.0.0
v0.3.7
v0.2.8
v0.1.19
dev
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.