MCPcopy Index your code
hub / github.com/clips/pattern / render

Method render

pattern/graph/__init__.py:1419–1429  ·  view source on GitHub ↗
(self, type=HTML)

Source from the content-addressed store, hash-verified

1417 return s
1418
1419 def render(self, type=HTML):
1420 if type == HTML:
1421 return self.html
1422 if type == CANVAS:
1423 return self.canvas
1424 if type == STYLE:
1425 return self.style
1426 if type == SCRIPT:
1427 return self.script
1428 if type == DATA:
1429 return self.data
1430
1431 def export(self, path, overwrite=False, encoding="utf-8"):
1432 """ Generates a folder at the given path containing an index.html

Callers 1

renderFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected