Schematex

01 / DÉCOUVREZ SCHEMATEX · GRATUIT · OPEN SOURCE · CONÇU POUR L'IA

Tous les diagrammes que médecins, ingénieurs et juristes utilisent vraiment.

Schematex trace les 45 diagrammes que médecins, ingénieurs et juristes dessinent déjà à la main — génogrammes cliniques, schémas ladder IEC 61131-3, pedigrees NSGC, tableaux de capitalisation. Texte DSL en entrée, SVG conforme aux normes en sortie.

genogram·§ McGoldrick 2020
Genogram: Medical History Genogram diagram with 7 individuals across 3 generations Medical History Grandfather (1930-1990) 60 Grandmother (1935) Father (1960) Mother (1962) Uncle (1963) Patient (1988) Sister (1991) Grandfather (1930–1990) Grandmother (b. 1935) Father (b. 1960) Mother (b. 1962) Uncle (b. 1963) Patient (b. 1988) Sister (b. 1991) SYMBOLS Deceased CONDITIONS Heart Disease Diabetes Cancer Hypertension MARKERS Index person (focal subject)
UTF-8 · LF · 10 lines · 550 chars✓ parsed·13.6 KB SVG
McGoldrick 2020IEC 61131-3IEEE 315ANSI Y32.2Newick / NHXNSGC pedigreeMoreno sociometryIshikawa 1968WaveDromISO 5807PRISMA 2020OMG BPMN 2.0UML 2.5.1PMI PMBOK 7Chen 1976IEC 60617McGoldrick 2020IEC 61131-3IEEE 315ANSI Y32.2Newick / NHXNSGC pedigreeMoreno sociometryIshikawa 1968WaveDromISO 5807PRISMA 2020OMG BPMN 2.0UML 2.5.1PMI PMBOK 7Chen 1976IEC 60617

02 / LES DIAGRAMMES QUE LES PROFESSIONNELS UTILISENT VRAIMENT

Les diagrammes que votre médecin, ingénieur ou juriste utilise vraiment.

Chaque famille de diagrammes est conçue pour le praticien qui en a la maîtrise — de quelques lignes de DSL jusqu'à la version qu'un expert mettrait dans un dossier, un mémo ou un permis. Chaque sortie respecte une norme publiée.

genogram·§ McGoldrick 2020
Genogram: Medical History Genogram diagram with 7 individuals across 3 generations Medical History Grandfather (1930-1990) 60 Grandmother (1935) Father (1960) Mother (1962) Uncle (1963) Patient (1988) Sister (1991) Grandfather (1930–1990) Grandmother (b. 1935) Father (b. 1960) Mother (b. 1962) Uncle (b. 1963) Patient (b. 1988) Sister (b. 1991) SYMBOLS Deceased CONDITIONS Heart Disease Diabetes Cancer Hypertension MARKERS Index person (focal subject)
For the clinical social worker
Multi-generation medical history

Three-generation family medical history genogram with multi-condition color annotations using fill zones — heart disease, diabetes, cancer, hypertension.

→ ouvrir dans le playground
pedigree·§ NSGC
Hemophilia A Pedigree chart with 10 individuals across 3 generations I II III I-1 I-2 (carrier-x) II-5 II-2 (carrier-x) II-1 (affected) II-3 II-4 III-1 (affected) III-2 (carrier-x) III-3 I-1 I-2 II-5 II-2 II-1 II-3 II-4 III-1 III-2 III-3 GENETIC STATUS Affected X-linked carrier
For the genetic counselor
Hemophilia A (X-linked recessive)

Three-generation hemophilia A pedigree showing X-linked recessive inheritance with carrier females and affected males per NSGC clinical notation.

→ ouvrir dans le playground
ecomap·§ Hartman 1978
Ecomap Ecomap diagram with 9 external systems James Age 28 AA Group Bill (Sponsor) Warehouse Job Mom Ex-wife Children (2) Old Friends P.O. Johnson CBT Therapist new, probationary supportive custody conflict supervised visits trying to cut off weekly SYSTEMS Family Legal Mental Health Substance Work TIES Strong Moderate Weak Stressful Broken
For the case manager
Substance abuse recovery

Ecomap charting a client's recovery support network — AA group, family, probation, and therapist — with relationship strength and directional connections.

→ ouvrir dans le playground
ladder·§ IEC 61131-3
Motor Start/Stop PLC ladder logic diagram with 1 rung Motor Start/Stop Rung 001 — Seal-in circuit — Start Button START_PB IN 1.0 Aux Contact MOTOR_AUX BIT 3.0 Stop Button STOP_PB IN 1.1 Motor Command MOTOR_CMD OUT 2.0
For the controls engineer
Motor start/stop seal-in circuit

Classic three-wire motor start/stop seal-in circuit in IEC 61131-3 ladder logic — the foundational pattern taught in every PLC certification course.

→ ouvrir dans le playground
sld·§ IEEE 315
Utility + Generator Backup Single-line diagram with 8 nodes and 7 connections Utility + Generator Backup 480V 480V Utility 480V G Emergency Gen 500 kW 480V ATS ATS-1 800A 480V · Critical Load Bus CB1 200A CB2 200A Critical Load 1 100A Critical Load 2 100A
For the facility engineer
Generator + ATS backup power

Single-line diagram for a utility + emergency generator ATS transfer system feeding critical loads on a 480 V bus — per IEEE 315 for facility design review.

→ ouvrir dans le playground
logic·§ IEEE 91
1-bit Full Adder Logic gate diagram with 5 gates, 3 inputs, 2 outputs XOR AND XOR AND OR A B Cin Sum Cout 1-bit Full Adder
For the electronics designer
1-bit full adder

1-bit full adder built from XOR, AND, and OR gates — the foundational building block of every arithmetic logic unit, from a functional description.

→ ouvrir dans le playground
entity·§ Tier ownership
Acme Global Holdings Entity structure diagram with 5 entities and 5 relationships Acme Global Holdings 100% 100% 100% IP License · royalty 100% US Acme Global, Inc. Corporation Ultimate Parent IE Acme Ireland Holdings Corporation KY Acme IP Ltd Corporation Holds group IP NL Acme EU Distribution Corporation SG Acme APAC Trading Corporation
For corporate counsel
International tax holding structure

Cross-border tax holding structure with Irish IP company, Dutch distribution, and APAC entity — per OECD BEPS transfer-pricing documentation requirements.

→ ouvrir dans le playground
fishbone·§ Ishikawa 1968
Fishbone diagram — Website traffic drop — Fishbone diagram Ishikawa cause-and-effect diagram. Effect: Traffic decline. 6 categories. Fishbone diagram — Website traffic drop Traffic decline Content Publishing frequency down Content too generic Keyword gaps Low-quality AI content Backlinks High-quality backlinks lost High ratio of low-quality links Referring domain growth stalled Low anchor text diversity Competition New competitors entering AI tools replacing search Weakening brand recall Competitors publishing faster Technical Core Web Vitals failing Crawl coverage drop Crawler blocked by WAF Missing structured data UX Bounce rate rising Poor mobile experience Slow above-fold load Excessive popup ads Algorithm Core Update penalty Weak E-E-A-T signals AI Overviews / SGE cutoff Search intent drift
For the ops lead
Website traffic drop root-cause analysis

Ishikawa fishbone for a website traffic drop — six causal categories covering content, technical SEO, backlinks, UX, competition, and algorithm changes.

→ ouvrir dans le playground
sociogram·§ Moreno 1934
Sociogram: Playground Dynamics Sociogram with 8 members and 10 connections Playground Dynamics conflict tom jack mike leo anna beth chloe diana GROUPS Boys Girls TIES Positive tie Negative tie Neutral tie
For the school counselor
Playground dynamics

Moreno sociogram of classroom playground dynamics — mutual friendships, one-way choices, and peer conflicts mapped by gender group using force-directed layout.

→ ouvrir dans le playground

03 / POURQUOI

Gratuit. Entièrement open source. Conçu pour l'IA.

Les outils génériques de diagrammes ne savent pas dessiner des diagrammes professionnels. Schematex traite chaque norme comme un citoyen de première classe — le tout est AGPL-3.0, sans dépendances, conçu pour que les LLMs l'émettent du premier coup.

45
FAMILLES
Les diagrammes que les professionnels utilisent vraiment

Chaque type implémente une spécification publiée — McGoldrick, IEC 61131-3, IEEE 315, NSGC, Newick. Médecins, ingénieurs et juristes les tracent déjà à la main ; ils peuvent désormais les générer depuis du code.

100 %
GRATUIT · OPEN SOURCE
AGPL-3.0, zéro dépendance de runtime

Sans D3, sans dagre, sans générateurs de parsers, sans télémétrie, sans fonctionnalités verrouillées. Bundle en Ko, compatible SSR, licence commerciale disponible pour les usages en code fermé.

IA
EN NATIF
Conçu pour être émis par les LLMs

Grammaires minimales pensées selon la façon dont les LLMs écrivent réellement — guillemets CJK, ambiguïté d'imbrication, erreurs lisibles par l'IA. Collez la sortie de ChatGPT ou Claude et obtenez un diagramme professionnel dès le premier essai.

04 / POSITIONNEMENT

Pas encore une bibliothèque de diagrammes de flux.

Comment Schematex se compare aux outils déjà utilisés.

OutilDiagrammes de domaine professionnelPrixPour les développeursCompatible IA
Mermaidseulement des organigrammesgratuit✓ (npm)partiel
D2seulement l'architecturegratuit✗ (Go CLI)partiel
WaveDromseulement le timinggratuit✓ (npm)partiel
PlantUMLseulement UMLgratuit✗ (Java)
schematex45 familles · spec citéegratuit✓ (0 deps, npm)conçu pour ça

05 / DÉMARRAGE RAPIDE

Installation en 10 secondes.

Une fonction, une chaîne en entrée, un SVG en sortie. Fonctionne partout où TypeScript fonctionne.

$npm install schematex
TypeScript puruniversel
import { render } from 'schematex';

const svg = render(`
genogram "Smiths"
  john [male, 1950]
  mary [female, 1952]
  john -- mary
    alice [female, 1975, index]
`);
Next.js (Serveur)RSC / SSR
import { render } from 'schematex';

export default function Page() {
  const svg = render(dsl);
  return <div dangerouslySetInnerHTML={{ __html: svg }} />;
}
React (Client)interactif
'use client';
import { render } from 'schematex';
import { useMemo } from 'react';

export function Diagram({ dsl }: { dsl: string }) {
  const svg = useMemo(() => render(dsl), [dsl]);
  return <div dangerouslySetInnerHTML={{ __html: svg }} />;
}

Commencez avec une seule chaîne.

Ouvrez le playground pour rendre l'un des 45 types de diagrammes en direct — ou parcourez la galerie pour du DSL à copier, coller et adapter.