selinonlib.config module¶
User configuration.
-
class
selinonlib.config.
Config
(config=None)[source]¶ Bases:
object
Configuration supplied by user.
-
DEFAULT_STYLE_CONDITION
= {'style': 'filled', 'shape': 'octagon', 'fillcolor': '#e8e3c8', 'color': 'gray'}¶
-
DEFAULT_STYLE_CONDITION_FOREACH
= {'style': 'filled', 'shape': 'doubleoctagon', 'fillcolor': '#e8e3c8', 'color': 'gray'}¶
-
DEFAULT_STYLE_EDGE
= {'arrowType': 'open', 'color': 'black'}¶
-
DEFAULT_STYLE_FALLBACK_EDGE
= {'arrowType': 'open', 'color': '#cc1010'}¶
-
DEFAULT_STYLE_FALLBACK_TRUE
= {'style': 'filled', 'shape': 'plain', 'fillcolor': '#5af47b', 'color': 'black'}¶
-
DEFAULT_STYLE_FLOW
= {'style': 'filled', 'shape': 'box3d', 'fillcolor': '#197a9f', 'color': 'black'}¶
-
DEFAULT_STYLE_GRAPH
= {}¶
-
DEFAULT_STYLE_STORAGE
= {'style': 'filled', 'shape': 'cylinder', 'fillcolor': '#894830', 'color': 'black'}¶
-
DEFAULT_STYLE_STORE_EDGE
= {'style': 'dashed', 'arrowType': 'open', 'color': '#894830'}¶
-
DEFAULT_STYLE_TASK
= {'style': 'filled', 'shape': 'ellipse', 'fillcolor': '#66cfa7', 'color': 'black'}¶
-
style_condition
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_condition_foreach
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_edge
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_fallback_edge
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_fallback_true
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_flow
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_graph
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-
style_storage
(config_instance)[source]¶ Wrap style configuration that makes sure style is adjusted based on user configuration.
-