LogicAppsUX / data-mapper-v2
CLAUDE.md114 starsChanged 5 months agoMITView on GitHub
Current-generation visual data transformation tool. Create mappings between source and target schemas with a modern drag-and-drop interface. Package: @microsoft/logic-apps-data-mapper-v2 Uses Fluent UI v9 makeStyles - Good reference for makeStyles patterns: Access via Standalone app at /datamapper-v2 route: Read libs/data-mapper-v2/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
In this repository17 other files it gives its agents.
- apps/docs/CLAUDE.mdCLAUDE.md
- apps/iframe-app/CLAUDE.mdCLAUDE.md
- apps/Standalone/CLAUDE.mdCLAUDE.md
- apps/vs-code-designer/CLAUDE.mdCLAUDE.md
- apps/vs-code-react/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- libs/a2a-core/CLAUDE.mdCLAUDE.md
- libs/chatbot/CLAUDE.mdCLAUDE.md
- libs/data-mapper/CLAUDE.mdCLAUDE.md
- libs/designer/CLAUDE.mdCLAUDE.md
- libs/designer-ui/CLAUDE.mdCLAUDE.md
- libs/designer-v2/CLAUDE.mdCLAUDE.md
- libs/logic-apps-shared/CLAUDE.mdCLAUDE.md
- libs/vscode-extension/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- uiSkill
- verify-prSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 138
Testing mappings: Use test schemas in /test/ folder
- Very specific: line 142
Read libs/data-mapper-v2/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- AUTO-GENERATED from docs/ai-setup/packages/data-mapper-v2.md. DO NOT EDIT directly. -->Data Mapper V2
Current-generation visual data transformation tool. Create mappings between source and target schemas with a modern drag-and-drop interface.
Package: @microsoft/logic-apps-data-mapper-v2
Purpose
- Visual data mapping - Intuitive drag-and-drop mapping creation
- Schema support - XML and JSON schema visualization
- Function library - Built-in and custom transformation functions
- XSLT generation - Generate transformation code
- Tree navigation - Efficient large schema browsing
Commands
pnpm run build:lib # Build library
pnpm run test:lib # Run unit testsArchitecture
Entry Point
src/index.ts exports DataMapperDesignerV2 and related components.
Structure
/src/lib
/components/
/canvas/ - Main mapping canvas
/schema/ - Schema tree views
/functions/ - Function panel
/common/ - Shared components
/core/
/state/ - Redux slices
/services/ - Data services
/utils/ - Utilities
/models/ - TypeScript typesKey Components
DataMapperDesignerV2
Main designer component:
<DataMapperDesignerV2
sourceSchema={sourceSchema}
targetSchema={targetSchema}
dataMap={existingMap}
onSave={handleSave}
/>Schema Panel
Displays source/target schemas:
- Tree view with search
- Drag source for connections
- Type indicators
Canvas
Visual mapping area:
- Uses
@xyflow/reactfor connections - ELK.js for layout
- Function nodes
Functions Panel
Transformation functions:
- String functions
- Math functions
- Date functions
- Collection functions
- Custom functions
State Management
Redux Slices
| Slice | Purpose |
dataMapSlice | Map connections and state |
schemaSlice | Source/target schemas |
functionSlice | Available functions |
panelSlice | UI panel state |
Undo/Redo
Built-in undo/redo via redux-undo.
Styling
Uses Fluent UI v9 makeStyles - Good reference for makeStyles patterns:
const useStyles = makeStyles({
root: {
display: 'flex',
...tokens.typographyStyles.body1,
},
})Technologies
@xyflow/reactv12 - Graph visualizationelkjs- Auto-layoutreact-arborist- Tree views- Redux Toolkit with
redux-undo - Fluent UI v9
Testing
pnpm run test:libUsage
Access via Standalone app at /datamapper-v2 route:
pnpm run start
# Navigate to https://localhost:4200/datamapper-v2Dependencies
@microsoft/designer-ui@microsoft/logic-apps-shared@xyflow/react@fluentui/react-components- Redux Toolkit
Development Tips
- Style reference: Good examples of makeStyles patterns
- Tree performance: Uses virtualization for large schemas
- Connection logic: Validation in
core/services/ - Testing mappings: Use test schemas in
/test/folder
Graphify
Read libs/data-mapper-v2/src/graphify-out/GRAPH_REPORT.md for structural context (god nodes, communities, surprising connections).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

