Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove dead code
  • Loading branch information
drahnr committed May 30, 2022
commit bca69d957dc0787fa4b220b3daadae75d882085f
12 changes: 2 additions & 10 deletions node/orchestra/proc-macro/src/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ impl ConnectionGraph {

/// Render a graphviz (aka dot graph) to a file.
pub(crate) fn graphviz(&self, dest: &mut impl std::io::Write) -> std::io::Result<()> {
// TODO render unconnected
// TODO highlight unconnected nodes
// TODO render isolated s
// TODO highlight unconnected subsystems
// TODO highlight circles
let config = &[dot::Config::EdgeNoLabel, dot::Config::NodeNoLabel][..];
let dot = Dot::with_attr_getters(
Expand All @@ -107,11 +107,3 @@ impl ConnectionGraph {
Ok(())
}
}

#[cfg(test)]
mod tests {
use super::*;

#[test]
fn foo() {}
}