summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/graphviz
diff options
context:
space:
mode:
Diffstat (limited to 'magic/Magdir/graphviz')
-rw-r--r--magic/Magdir/graphviz12
1 files changed, 12 insertions, 0 deletions
diff --git a/magic/Magdir/graphviz b/magic/Magdir/graphviz
new file mode 100644
index 0000000..d8bf22d
--- /dev/null
+++ b/magic/Magdir/graphviz
@@ -0,0 +1,12 @@
+
+#------------------------------------------------------------------------------
+# $File: graphviz,v 1.9 2019/04/30 04:01:40 christos Exp $
+# graphviz: file(1) magic for https://www.graphviz.org/
+
+# FIXME: These patterns match too generally. For example, the first
+# line matches a LaTeX file containing the word "graph" (with a {
+# following later) and the second line matches this file.
+#0 regex/100l [\r\n\t\ ]*graph[\r\n\t\ ]+.*\\{ graphviz graph text
+#!:mime text/vnd.graphviz
+#0 regex/100l [\r\n\t\ ]*digraph[\r\n\t\ ]+.*\\{ graphviz digraph text
+#!:mime text/vnd.graphviz