Logo
NeoArc Studio

Schema Export and Import

Export model entities to a range of schema formats including SQL DDL dialects, GraphQL SDL, TypeScript, Prisma, Protocol Buffers, and more. Import from SQL DDL scripts across multiple database dialects, plus draw.io, GraphML, PlantUML, and other diagram tools.

NeoArc Studio exports model entities to a range of schema formats across several categories: SQL DDL dialects, schema definition languages, graph and document formats, diagram notations, and graph exchange. The unified export dialog generates production-ready output with live preview, copy to clipboard, and file download. Multi-select group filtering allows exporting specific subdomains. For bringing existing schemas into the model, SQL DDL import covers multiple database dialects, with additional parsers for diagram tools and graph formats.

Schema Export (24 Formats)

Export model entities to SQL DDL, schema definition languages, diagram notations, and graph exchange formats. The unified export dialog provides a live preview, copy to clipboard, and file download. With 24 formats across 5 categories, the export system covers the full range of database platforms, schema languages, and interchange formats used in modern software development.

12 SQL DDL Dialects
Generate CREATE TABLE statements for PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake, MariaDB, CockroachDB, BigQuery, Redshift, DB2, and Generic SQL. Each dialect uses correct data types, naming conventions, and constraint syntax.
7 Schema Definition Languages
Export to GraphQL SDL, TypeScript Interfaces, DBML, Prisma Schema, Apache Avro, Protocol Buffers, and Mongoose Schema. Each format maps entity properties, relationships, and constraints to the target language conventions.
5 Additional Formats
Neo4j Cypher DDL, JSON Schema (draft-07), Mermaid ERD, PlantUML ERD, XML Schema (XSD), GraphML, and NeoArc JSON. Covers graph databases, document validation, diagram notation, and graph exchange.

Export Format Categories

CategoryFormats
SQL DDL (12 dialects)PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake, MariaDB, CockroachDB, BigQuery, Redshift, DB2, Generic SQL
Schema Definition (7)GraphQL SDL, TypeScript Interfaces, DBML, Prisma Schema, Apache Avro, Protocol Buffers, Mongoose Schema
Graph and Document (3)Neo4j Cypher DDL, JSON Schema (draft-07), NeoArc JSON
Diagram Notation (3)Mermaid ERD, PlantUML ERD, XML Schema (XSD)
Graph Exchange (1)GraphML XML

SQL DDL Export Details

SQL DDL export generates production-ready database scripts with full constraint support.

DialectType SourceNaming Convention
PostgreSQLDatabase profile mappingssnake_case
MySQLDatabase profile mappingssnake_case
SQL ServerDatabase profile mappingsPascalCase
OracleDatabase profile mappingsSCREAMING_SNAKE_CASE
SQLiteBuilt-in mappingssnake_case
SnowflakeBuilt-in mappingsSCREAMING_SNAKE_CASE
MariaDBBuilt-in mappingssnake_case
CockroachDBBuilt-in mappingssnake_case
BigQueryDatabase profile mappingssnake_case
RedshiftDatabase profile mappingssnake_case
DB2Database profile mappingsSCREAMING_SNAKE_CASE
Generic SQLFallback mappingssnake_case

Group Filtering for Export

Target specific subdomains of the model using group filters.

Export Workflow

Schema Import

Bring existing schemas into the data model from SQL DDL scripts across 6 database dialects, with additional parsers for diagram tools and graph formats.

SQL DDL Import (6 dialects)
Paste or upload SQL DDL from PostgreSQL, MySQL, SQL Server, Snowflake, Oracle, or DBML. Parses CREATE TABLE, ALTER TABLE (foreign keys), and CREATE INDEX statements. Maps tables to entities, columns to properties, and foreign keys to relationships with automatic type resolution.
Additional File Parsers
Additional parsers for draw.io, Microsoft Visio, GraphML, PlantUML, and other diagram and graph tools. Each parser extracts entities and relationships into a common format for model integration.
Preview and Group Assignment
Before importing, preview extracted entities with property counts and conflict warnings for duplicate labels. Assign imported entities to a new group, an existing group, or no group. Resolve naming conflicts before they enter the model.

Import Format Details

FormatFile ExtensionsText PasteDescription
SQL DDL (6 dialects).sqlYesPostgreSQL, MySQL, SQL Server, Snowflake, Oracle, and DBML
draw.io / diagrams.net.drawio, .xmlNoEntity shapes and connections from draw.io XML files
Microsoft Visio.vsdxNoImport entity shapes from Microsoft Visio diagram files
GraphML.graphmlNoGraph exchange format files with node and edge data
GEXF (Gephi).gexfNoGephi graph exchange format files
Graphviz DOT.dot, .gvYesGraph description language files
JSON Graph Format.jsonYesJGF graph files with typed nodes and edges
PlantUML.puml, .plantumlYesClass and entity diagrams from PlantUML notation
Mermaid ERD.mmd, .mermaidYesEntity-relationship diagram syntax from Mermaid
Neo4j Cypher.cypher, .cqlYesCREATE statements from Cypher scripts
ERDPlus.jsonNoERDPlus JSON export files
StarUML.mdjNoStarUML project files with class diagrams
RDF/OWL (Turtle).ttlYesRDF Turtle ontology files with classes and properties
RDF/OWL (XML).rdf, .owlNoRDF/XML and OWL ontology files
OpenAPI.json, .yamlYesOpenAPI specifications for REST API documentation

Import Workflow

Detailed Guides

For format-specific documentation and examples, see the guides below.