Home | Trees | Indices | Help |
|
---|
|
Specialized translator for HTML. Instead of relying on the return values the HTML lines are directly written to a provided file.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|||
Inherited from HiNetTranslator | |||
---|---|---|---|
|
|
|||
Inherited from |
|
Initialize the HMTL translator. show_size -- Show the approximate memory footprint of all nodes.
|
Close the HTML environment for the node internals. node -- The node itself. type_id -- The id string as used in the CSS. |
Open the HTML environment for the node internals. node -- The node itself. type_id -- The id string as used in the CSS. |
Translate a CloneLayer and return the translation.
|
Translate the flow into HTML and write it into the internal file. Use write_flow_to_file instead of calling this method.
|
Translate a node containing a flow and return the translation. The internal nodes are translated recursively. Note that this method is used for translation whenever the node has a flow attribute. This flow attribute is then used for the iteration, so the node itself does not have to be an iterable.
|
Translate a layer and return the translation. All the nodes in the layer are translated.
|
Translate a SameInputLayer and return the translation.
|
Translate a node and return the translation. This method is used when no specialized translation (like for FlowNodes or Layers) is required.
|
Write the header content for the node into the HTML file. |
Write the HTML translation of the flow into the provided file. Note that html_file file can be any file-like object with a write method. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Oct 9 06:08:50 2009 | http://epydoc.sourceforge.net |