pub struct RDFVisualizationConfig { /* private fields */ }Expand description
Configuration object controlling the visual appearance of RDF graphs.
This struct allows customization of node and edge styles, labels, and shapes for different RDF term types. All fields are optional and will fall back to default values if not specified.
Implementations§
Source§impl RDFVisualizationConfig
impl RDFVisualizationConfig
Sourcepub fn with_literal_background_color(self, color: UmlColor) -> Self
pub fn with_literal_background_color(self, color: UmlColor) -> Self
Sets the background color for literal nodes.
Sourcepub fn with_triple_term_subject_label(self, label: String) -> Self
pub fn with_triple_term_subject_label(self, label: String) -> Self
Sets the label for the subject triple term.
Sourcepub fn with_triple_term_predicate_label(self, label: String) -> Self
pub fn with_triple_term_predicate_label(self, label: String) -> Self
Sets the label for the predicate triple term.
Sourcepub fn with_triple_term_object_label(self, label: String) -> Self
pub fn with_triple_term_object_label(self, label: String) -> Self
Sets the label for the object triple term.
Sourcepub fn with_reifies_label(self, label: String) -> Self
pub fn with_reifies_label(self, label: String) -> Self
Sets the label for reification.
Sourcepub fn uri_line_color(&self) -> UmlColor
pub fn uri_line_color(&self) -> UmlColor
Gets the stroke color for URI nodes.
Sourcepub fn uri_line_thickness(&self) -> u32
pub fn uri_line_thickness(&self) -> u32
Gets the stroke thickness for URI nodes.
Sourcepub fn uri_background_color(&self) -> UmlColor
pub fn uri_background_color(&self) -> UmlColor
Gets the background color for URI nodes.
Sourcepub fn uri_round_corner(&self) -> u32
pub fn uri_round_corner(&self) -> u32
Gets the corner radius for URI node shapes.
Sourcepub fn bnode_line_color(&self) -> UmlColor
pub fn bnode_line_color(&self) -> UmlColor
Gets the stroke color for blank nodes.
Sourcepub fn bnode_line_thickness(&self) -> u32
pub fn bnode_line_thickness(&self) -> u32
Gets the stroke thickness for blank nodes.
Sourcepub fn bnode_background_color(&self) -> UmlColor
pub fn bnode_background_color(&self) -> UmlColor
Gets the background color for blank nodes.
Sourcepub fn bnode_round_corner(&self) -> u32
pub fn bnode_round_corner(&self) -> u32
Gets the corner radius for blank node shapes.
Sourcepub fn literal_line_color(&self) -> UmlColor
pub fn literal_line_color(&self) -> UmlColor
Gets the stroke color for literal nodes.
Sourcepub fn literal_line_thickness(&self) -> u32
pub fn literal_line_thickness(&self) -> u32
Gets the stroke thickness for literal nodes.
Sourcepub fn literal_background_color(&self) -> UmlColor
pub fn literal_background_color(&self) -> UmlColor
Gets the background color for literal nodes.
Sourcepub fn literal_round_corner(&self) -> u32
pub fn literal_round_corner(&self) -> u32
Gets the corner radius for literal node shapes.
Sourcepub fn reifier_line_color(&self) -> UmlColor
pub fn reifier_line_color(&self) -> UmlColor
Gets the stroke color for reifier nodes.
Sourcepub fn reifier_line_thickness(&self) -> u32
pub fn reifier_line_thickness(&self) -> u32
Gets the stroke thickness for reifier nodes.
Sourcepub fn reifier_background_color(&self) -> UmlColor
pub fn reifier_background_color(&self) -> UmlColor
Gets the background color for reifier nodes.
Sourcepub fn reifier_round_corner(&self) -> u32
pub fn reifier_round_corner(&self) -> u32
Gets the corner radius for reifier node shapes.
Sourcepub fn asserted_line_color(&self) -> UmlColor
pub fn asserted_line_color(&self) -> UmlColor
Gets the stroke color for asserted triple terms.
Sourcepub fn asserted_line_thickness(&self) -> u32
pub fn asserted_line_thickness(&self) -> u32
Gets the stroke thickness for asserted triple terms.
Sourcepub fn asserted_background_color(&self) -> UmlColor
pub fn asserted_background_color(&self) -> UmlColor
Gets the background color for asserted triple terms.
Sourcepub fn asserted_round_corner(&self) -> u32
pub fn asserted_round_corner(&self) -> u32
Gets the corner radius for asserted triple term shapes.
Sourcepub fn non_asserted_line_color(&self) -> UmlColor
pub fn non_asserted_line_color(&self) -> UmlColor
Gets the stroke color for non-asserted triple terms.
Sourcepub fn non_asserted_line_thickness(&self) -> u32
pub fn non_asserted_line_thickness(&self) -> u32
Gets the stroke thickness for non-asserted triple terms.
Sourcepub fn non_asserted_background_color(&self) -> UmlColor
pub fn non_asserted_background_color(&self) -> UmlColor
Gets the background color for non-asserted triple terms.
Sourcepub fn non_asserted_round_corner(&self) -> u32
pub fn non_asserted_round_corner(&self) -> u32
Gets the corner radius for non-asserted triple term shapes.
Sourcepub fn get_subject_arrow_style(&self) -> ArrowStyle
pub fn get_subject_arrow_style(&self) -> ArrowStyle
Gets the arrow style for subject edges.
Sourcepub fn get_subject_text(&self) -> String
pub fn get_subject_text(&self) -> String
Gets the label text for subject edges.
Sourcepub fn get_predicate_arrow_style(&self) -> ArrowStyle
pub fn get_predicate_arrow_style(&self) -> ArrowStyle
Gets the arrow style for predicate edges.
Sourcepub fn get_predicate_text(&self) -> String
pub fn get_predicate_text(&self) -> String
Gets the label text for predicate edges.
Sourcepub fn get_object_arrow_style(&self) -> ArrowStyle
pub fn get_object_arrow_style(&self) -> ArrowStyle
Gets the arrow style for object edges.
Sourcepub fn get_object_text(&self) -> String
pub fn get_object_text(&self) -> String
Gets the label text for object edges.
Trait Implementations§
Source§impl Clone for RDFVisualizationConfig
impl Clone for RDFVisualizationConfig
Source§fn clone(&self) -> RDFVisualizationConfig
fn clone(&self) -> RDFVisualizationConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more