Skip to content
Snippets Groups Projects
Commit 7c50d611 authored by y.zobus's avatar y.zobus
Browse files

added \t in html-like labels

parent 1981043c
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ impl Dottable for NodeGroup{
fn to_dot(&self, node_index: &str, name: &str, inverted: bool, ports: &OpticPorts) -> String {
let inv_string = if inverted { "(inv)" } else { "" };
let mut dot_string = format!(
" subgraph i{} {{\n label=\"{}{}\"\n cluster=true\n",
" subgraph i{} {{\n\tlabel=\"{}{}\"\n\tfontsize=15\n\tcluster=true\n\t",
node_index, name, inv_string
);
for node_idx in self.g.node_indices() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment