# {py:mod}`arelle.ViewFileRelationshipSet` ```{py:module} arelle.ViewFileRelationshipSet ``` ```{autodoc2-docstring} arelle.ViewFileRelationshipSet :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`ViewRelationshipSet ` - ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.ViewRelationshipSet :summary: ``` ```` ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`viewRelationshipSet ` - ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.viewRelationshipSet :summary: ``` * - {py:obj}`hasCalcArcrole ` - ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.hasCalcArcrole :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`COL_WIDTHS ` - ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.COL_WIDTHS :summary: ``` ```` ### API ````{py:function} viewRelationshipSet(modelXbrl: arelle.ModelXbrl.ModelXbrl, outfile: str | arelle.FileSource.FileNamedStringIO | None, header: str, arcrole: str | tuple[str, ...], linkrole: str | None = None, linkqname: arelle.ModelValue.QName | None = None, arcqname: arelle.ModelValue.QName | None = None, labelrole: str | None = None, lang: str | None = None, cols: list[str] | str | None = None) -> None :canonical: arelle.ViewFileRelationshipSet.viewRelationshipSet ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.viewRelationshipSet ``` ```` ````{py:data} COL_WIDTHS :canonical: arelle.ViewFileRelationshipSet.COL_WIDTHS :value: > None ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.COL_WIDTHS ``` ```` ````{py:function} hasCalcArcrole(arcroles: str | tuple[str, ...] | list[str] | tuple[str | tuple[str, ...], ...]) -> bool :canonical: arelle.ViewFileRelationshipSet.hasCalcArcrole ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.hasCalcArcrole ``` ```` `````{py:class} ViewRelationshipSet(modelXbrl: arelle.ModelXbrl.ModelXbrl, outfile: str | arelle.FileSource.FileNamedStringIO | None, header: str, labelrole: str | None, lang: str | None, cols: list[str] | str | None) :canonical: arelle.ViewFileRelationshipSet.ViewRelationshipSet Bases: {py:obj}`arelle.ViewFile.View` ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.ViewRelationshipSet ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.ViewRelationshipSet.__init__ ``` ````{py:method} view(arcrole: str | tuple[str, ...] | list[str], linkrole: str | None = None, linkqname: arelle.ModelValue.QName | None = None, arcqname: arelle.ModelValue.QName | None = None) -> None :canonical: arelle.ViewFileRelationshipSet.ViewRelationshipSet.view ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.ViewRelationshipSet.view ``` ```` ````{py:method} treeDepth(concept: arelle.ModelObject.ModelObject | None, modelObject: arelle.ModelObject.ModelObject | None, indent: int, arcrole: str | tuple[str, ...], relationshipSet: arelle.ModelRelationshipSet.ModelRelationshipSet, visited: set[arelle.ModelObject.ModelObject]) -> None :canonical: arelle.ViewFileRelationshipSet.ViewRelationshipSet.treeDepth ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.ViewRelationshipSet.treeDepth ``` ```` ````{py:method} viewConcept(concept: arelle.ModelObject.ModelObject | None, modelObject: arelle.ModelDtsObject.ModelRelationship | None, labelPrefix: str, preferredLabel: str | None, indent: int, arcrole: str | tuple[str, ...], relationshipSet: arelle.ModelRelationshipSet.ModelRelationshipSet, visited: set[arelle.ModelObject.ModelObject]) -> None :canonical: arelle.ViewFileRelationshipSet.ViewRelationshipSet.viewConcept ```{autodoc2-docstring} arelle.ViewFileRelationshipSet.ViewRelationshipSet.viewConcept ``` ```` `````