psctb.utils.model_graph package¶
Submodules¶
psctb.utils.model_graph._model_graph module¶
- class psctb.utils.model_graph._model_graph.ModelGraph(mod, pos_dic=None, analysis_method=None, base_name=None)[source]¶
Bases:
object
- Attributes
- height
- nodes_fixed
- straight_links
- width
Methods
save
([file_name])Saves the image.
change_link_properties
change_node_properties
draw_all_links
highlight_cc
highlight_cp
remove_dummy_sinks
remove_external_modifier_links
reset_node_properties
show
- DUMMY_SINK_NAMES = ['dummy', 'sink']¶
- REACTION_NODE = {'color': 'black', 'dx': -12, 'dy': -15, 'fill': '#00A388', 'fixed': True, 'font_size': 20, 'r': 8, 'shape': 'rect', 'stroke': '#00A388', 'strokewidth': '1.5px'}¶
- RGB_RGB_RGB_ = {0: 'rgb(94,79,162)', 1: 'rgb(50,136,189)', 2: 'rgb(102,194,165)', 3: 'rgb(171,221,164)', 4: 'rgb(230,245,152)', 5: 'rgb(254,224,139)', 6: 'rgb(253,174,97)', 7: 'rgb(244,109,67)', 8: 'rgb(213,62,79)', 9: 'rgb(158,1,66)', 10: 'rgb(158,1,66)'}¶
- SPECIES_NODE = {'color': 'black', 'dx': -12, 'dy': -15, 'fill': '#FF6138', 'fixed': True, 'font_size': 20, 'r': 11, 'shape': 'circle', 'stroke': '#FF6138', 'strokewidth': '1.5px'}¶
- property height¶
- property nodes_fixed¶
- save(file_name=None)[source]¶
Saves the image.
Saves the image to either the default working directory or to an a specified location. Parameters ———- file_name : str, Optional (default : None)
An optional path to which the image will be saved.
- Returns
- None
- property straight_links¶
- property width¶