-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Accept mulitple node identifiers in
verdi node graph generate
(#…
…6443) The `--identifier` option allows the user to specify which identifier to label nodes in the graph with: pk, uuid or label. Here, the interface is updated to allow specifying multiple identifiers, e.g.: verdi node graph generate --identifier pk uuid -- <PK> If more than one identifier type is specified, the resulting identifiers for each node are joined using a `|` character.
- Loading branch information
Showing
9 changed files
with
106 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
tests/tools/visualization/test_graph/test_graph_node_identifiers_label_.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE [label="CalcFunctionNode (some-label) | ||
NODE [label="Dict (some-label)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
NODE [label="FolderData (some-label)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
Exit Code: 200" color=red fillcolor="#de707f77" penwidth=6 shape=rectangle style=filled] | ||
State: finished | ||
digraph { | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/tools/visualization/test_graph/test_graph_node_identifiers_node_id_type3_.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE [label="CalcFunctionNode (10|16739459) | ||
NODE [label="Dict (10|16739459)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
NODE [label="FolderData (10|16739459)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
Exit Code: 200" color=red fillcolor="#de707f77" penwidth=6 shape=rectangle style=filled] | ||
State: finished | ||
digraph { | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/tools/visualization/test_graph/test_graph_node_identifiers_node_id_type4_.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE [label="CalcFunctionNode (10|some-label) | ||
NODE [label="Dict (10|some-label)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
NODE [label="FolderData (10|some-label)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
Exit Code: 200" color=red fillcolor="#de707f77" penwidth=6 shape=rectangle style=filled] | ||
State: finished | ||
digraph { | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/tools/visualization/test_graph/test_graph_node_identifiers_pk_.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE [label="CalcFunctionNode (10) | ||
NODE [label="Dict (10)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
NODE [label="FolderData (10)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
Exit Code: 200" color=red fillcolor="#de707f77" penwidth=6 shape=rectangle style=filled] | ||
State: finished | ||
digraph { | ||
} |
9 changes: 9 additions & 0 deletions
9
tests/tools/visualization/test_graph/test_graph_node_identifiers_uuid_.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE -> NODE [color="#000000" style=solid] | ||
NODE [label="CalcFunctionNode (16739459) | ||
NODE [label="Dict (16739459)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
NODE [label="FolderData (16739459)" fillcolor="#8cd499ff" penwidth=0 shape=ellipse style=filled] | ||
Exit Code: 200" color=red fillcolor="#de707f77" penwidth=6 shape=rectangle style=filled] | ||
State: finished | ||
digraph { | ||
} |