Options for call-flow architecture HTML generation.
| 1551 | # ────────────────────────────────────────────── |
| 1552 | |
| 1553 | class CallflowOptions: |
| 1554 | """Options for call-flow architecture HTML generation.""" |
| 1555 | |
| 1556 | def __init__( |
| 1557 | self, |
| 1558 | project: str | Path | None = None, |
| 1559 | *, |
| 1560 | graphify_out: str | Path | None = None, |
| 1561 | graph: str | Path | None = None, |
| 1562 | report: str | Path | None = None, |
| 1563 | labels: str | Path | None = None, |
| 1564 | sections: str | Path | None = None, |
| 1565 | output: str | Path | None = None, |
| 1566 | lang: str = "auto", |
| 1567 | max_sections: int = 15, |
| 1568 | diagram_scale: float = 1.0, |
| 1569 | max_diagram_nodes: int = 18, |
| 1570 | max_diagram_edges: int = 24, |
| 1571 | ): |
| 1572 | self.project = str(project) if project is not None else None |
| 1573 | self.graphify_out = str(graphify_out) if graphify_out is not None else None |
| 1574 | self.graph = str(graph) if graph is not None else None |
| 1575 | self.report = str(report) if report is not None else None |
| 1576 | self.labels = str(labels) if labels is not None else None |
| 1577 | self.sections = str(sections) if sections is not None else None |
| 1578 | self.output = str(output) if output is not None else None |
| 1579 | self.lang = lang |
| 1580 | self.max_sections = max_sections |
| 1581 | self.diagram_scale = diagram_scale |
| 1582 | self.max_diagram_nodes = max_diagram_nodes |
| 1583 | self.max_diagram_edges = max_diagram_edges |
| 1584 | |
| 1585 | |
| 1586 | def _report_highlights(report_text: str, lang: str) -> str: |
no outgoing calls
no test coverage detected