generated at
三段論法
例えば、
「人間は死ぬ」(大前提
「ソクラテスは人間である」(小前提
故に
「ソクラテスは死ぬ」(結論

d3.js
const graph = ` graph g { A[shape = box;label = "大前提:人間は死ぬ"] B[shape = box;label = "小前提:ソクラテスは人間である"] C[shape = box;label = "結論:ソクラテスは死ぬ"] A -- B ; A -- C ; B -- C ; {rank = same; B; C} } `



『オルガノン』
『分析論後書』

Argumentation theory
Buddhist logic
Enthymeme

Other types of syllogism:
Disjunctive syllogism
Hypothetical syllogism
Polysyllogism
Prosleptic syllogism
Quasi-syllogism
Statistical syllogism

Syllogistic fallacy
The False Subtlety of the Four Syllogistic Figures
Venn diagram



d3.js
d3.select("#graph").graphviz() .fade(false) .renderDot(graph);

vizScript.js
const graph = ` graph g { A[shape = box;label = "大前提:人間は死ぬ"] B[shape = box;label = "小前提:ソクラテスは人間である"] C[shape = box;label = "結論:ソクラテスは死ぬ"] A -- B ; A -- C ; B -- C ; {rank = same; B; C} } `; const viz = new Viz(); viz.renderSVGElement(graph) .then(function(element) { const editor = document.getElementById('editor'); editor.appendChild(element); });

viz-script-button (実行ボタン)