visualiseur-markdown/canvas

Créez des diagrammes spatiaux avec des nœuds positionnés librement au format JSON. Idéal pour les cartes conceptuelles, les graphes de connaissances et les tableaux de planification nécessitant un contrôle précis des coordonnées x/y.

Qu'est-ce que canvas ?

Cette compétence permet de créer des diagrammes spatiaux interactifs en utilisant un format JSON simple, où chaque nœud est positionné librement avec des coordonnées x/y. Elle est particulièrement utile pour les développeurs et les utilisateurs d'agents IA qui souhaitent visualiser des cartes conceptuelles, des graphes de connaissances, des plans de projet ou tout autre type de diagramme nécessitant une disposition spatiale flexible. La compétence prend en charge les plateformes comme Claude Code, Cursor et Codex, et se base sur une documentation SKILL.md qui explique comment structurer les données JSON avec des nœuds, des liens et des étiquettes. Son fonctionnement repose sur l'analyse du fichier JSON fourni par l'utilisateur pour générer un rendu visuel dans un canevas HTML, permettant ainsi une interaction directe avec les éléments du diagramme.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/markdown-viewer/skills/tree/main/skills/canvas

Installed? Explore more Développement et programmation skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait canvas ?

Créez des diagrammes spatiaux avec des nœuds positionnés librement au format JSON. Idéal pour les cartes conceptuelles, les graphes de connaissances et les tableaux de planification nécessitant un contrôle précis des coordonnées x/y.

Utilisation

Pour créer un diagramme, fournissez un objet JSON avec les propriétés suivantes :

  • nodes : un tableau d'objets nœud, chacun contenant :
    • id : identifiant unique (chaîne)
    • x : coordonnée x (nombre)
    • y : coordonnée y (nombre)
    • label : texte affiché sur le nœud (chaîne, optionnel)
    • color : couleur du nœud (chaîne hexadécimale, optionnel)
  • edges : un tableau d'objets lien, chacun contenant :
    • source : identifiant du nœud source (chaîne)
    • target : identifiant du nœud cible (chaîne)
    • label : texte du lien (chaîne, optionnel)

Exemple

{
  "nodes": [
    { "id": "a", "x": 100, "y": 100, "label": "Nœud A" },
    { "id": "b", "x": 300, "y": 200, "label": "Nœud B" }
  ],
  "edges": [
    { "source": "a", "target": "b", "label": "Connexion" }
  ]
}

Plateformes supportées

  • Claude Code
  • Cursor
  • Codex

Remarques

  • Les coordonnées sont relatives au canevas (en pixels).
  • Les couleurs par défaut s'appliquent si color n'est pas spécifié.
  • Les étiquettes sont optionnelles et peuvent être omises.

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

markdown-viewer/archimate

Create ArchiMate enterprise architecture diagrams using PlantUML stdlib macros. Best for TOGAF viewpoints, layered EA modeling (Business/Application/Technology), motivation analysis, and migration planning.

markdown-viewer/architecture

Create layered system architecture diagrams using HTML/CSS templates with color-coded tiers and grid layouts. Best for technology stacks, microservices topology, and multi-tier application design.

markdown-viewer/bpmn

Create business process diagrams using PlantUML syntax with BPMN, EIP, and Lean Mapping stencil icons. Best for workflow automation, approval chains, message-based integration patterns, and value stream mapping.

markdown-viewer/cloud

Create cloud provider architecture diagrams using PlantUML syntax with official AWS, Azure, GCP, and Alibaba Cloud service icons. Best for multi-service cloud topologies and migration blueprints.

markdown-viewer/data-analytics

Create data pipeline and analytics architecture diagrams using PlantUML syntax with database/analytics stencil icons. Best for ETL pipelines, data lakes, real-time streaming, data warehousing, and BI dashboard design.

markdown-viewer/graphviz

Create directed/undirected graphs using DOT language with automatic layout. Best for dependency trees, call graphs, package hierarchies, and module relationships requiring fine-grained edge routing.

markdown-viewer/infocard

Create editorial-style information cards using HTML/CSS in Markdown. Best for knowledge summaries, data highlights, event announcements, and single-topic content cards with magazine-quality typography.

markdown-viewer/iot

Create IoT architecture diagrams using PlantUML syntax with device and sensor stencil icons. Best for smart home, industrial IoT (IIoT), fleet management, edge computing, and sensor network layouts.

markdown-viewer/mindmap

Create hierarchical mind maps using PlantUML @startmindmap syntax. Best for brainstorming, topic decomposition, study notes, and decision trees with automatic radial layout, left/right branches, and per-node styling.

markdown-viewer/network

Create network topology diagrams using PlantUML syntax with mxgraph device icons (Cisco, Citrix, etc.). Best for LAN/WAN layouts, datacenter interconnects, and physical/logical network design.

markdown-viewer/security

Create security architecture diagrams using PlantUML syntax with identity, encryption, firewall, and compliance stencil icons. Best for IAM flows, zero-trust models, encryption pipelines, and threat detection architectures.

markdown-viewer/uml

Create UML diagrams using PlantUML syntax. Best for software modeling — Class, Sequence, Activity, State Machine, Component, Use Case, and Deployment diagrams with concise text-based notation and auto-layout.

markdown-viewer/vega

Create data-driven charts with Vega-Lite (declarative) and Vega (programmatic). Best for statistical visualization of numeric data — bar, line, scatter, heatmap, area, radar charts, and word clouds.

Skills associés