Sha256: 984b72a89f5af236176509601d2796f0a79538f4bdf7276a7ccf6f27da0b55c7

Contents?: true

Size: 709 Bytes

Versions: 1

Compression:

Stored size: 709 Bytes

Contents

# Encoding: UTF-8

[{beforeRunningCommand: "nop",
  command: 
   "require_cmd dot\n\n. \"${TM_SUPPORT_PATH}/lib/html.sh\"\n. \"${TM_SUPPORT_PATH}/lib/webpreview.sh\"\n\n# Prepare output window.\nhtml_header 'Generate Graph' \"$FILE\"\nSRC=${TM_FILENAME:-untitled.dot}\nDST=\"${TMPDIR:-/tmp}/dot_${SRC%.*}.pdf\"\nERR=\"${TMPDIR:-/tmp}/dot_errors\"\n\n# Compile.\nif dot -Tpdf -o \"$DST\" /dev/stdin &>\"$ERR\"; then\n  echo \"<meta http-equiv='refresh' content='0; tm-file://$DST'>\"\nelse\n  pre <\"$ERR\"\nfi\nrm -f \"$ERR\"\nhtml_footer\n",
  input: "document",
  keyEquivalent: "@r",
  name: "Generate Graph",
  output: "showAsHTML",
  scope: "source.dot",
  uuid: "726F7253-079F-49E1-A9DF-739BBFFB321D"}]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ver-2010.08 config/commands/Graphviz.rb