(self, graph, styles)
| 75 | log.info("draw_graph complete") |
| 76 | |
| 77 | def apply_styles(self, graph, styles): |
| 78 | graph.graph_attr.update( |
| 79 | ('graph' in styles and styles['graph']) or {} |
| 80 | ) |
| 81 | graph.node_attr.update( |
| 82 | ('nodes' in styles and styles['nodes']) or {} |
| 83 | ) |
| 84 | return graph |
| 85 | |
| 86 | def apply_custom_style(self, graph, color): |
| 87 | style = {'edges': { |