Case study

Collaborative software architecture builder tailored to enterprise-grade workflows

Check how we helped knowis AG to build a collaborative, modular diagramming solution – designed specifically for large institutions. With an intuitive front end, real-time collaboration, and integration into complex enterprise systems, the new tool empowers both business and technical teams to co-create system architectures in real time.

User interface showing a diagram with connected nodes which present a workflow of a process.Side-by-side view of system context and container-level diagrams in Knowis platform UI.
Cluch logotype

Real-time software architecture modeling with React Flow at the core

knowis needed a secure, collaborative system to model enterprise architectures based on the C4 model. Synergy Codes helped to build a React Flow-powered editor with multiplayer features, offline resilience, and custom architecture logic.

Client

A product that empowers development teams to design and build complex software by aligning architecture, design, and code in one collaborative, AI-powered environment.

Business need

A solution to simplify architecture modeling with a structured, lightweight and collaborative approach based on C4, enabling multiple user types to visualize and manage architectural diagrams.

Scope

Custom UX/UI design and React Flow-based front-end implementation with architectural consulting and integration support.

React Flow
UX/UI design
C4
multiplayer
git
MongoDB
yjs
Hocuspocus
Challenge

Enabling real-time multiplayer collaboration in a C4-based diagramming tool

Add multiplayer collaboration to an existing diagramming tool

The client wanted to transform their single-user diagramming experience into a multiplayer environment. The main goal was enabling real-time collaboration on C4 model diagrams, so multiple users could edit and view architectural changes simultaneously.

Improve internal React Flow knowledge and implementation

knowis lacked deep expertise in React Flow and needed architectural guidance. They expected Synergy Codes to step in with technical leadership and help shape a scalable MVP using best practices in diagramming logic.

Synchronize diagram updates across different views and lists

Diagram elements were connected to other parts of the application, such as list views. Any changes made in one view had to be reflected in real time in others, which required precise synchronization between diagrams, backend, and UI layers.

Integrate Git and MongoDB with collaborative software architecture

The client stored diagram-related data in both MongoDB and Git. Establishing real-time collaboration required complex logic to serialize Y.Doc data, save it as JSON in Git, and ensure consistency with MongoDB – without breaking the app’s data structure.

Deliver on a tight schedule with a working MVP in weeks

knowis had internal demos planned and required a functional prototype in under two months. Delays could impact stakeholder presentations, so speed, reliability, and tight collaboration were key to maintaining momentum.

Process

From UX concept to real-time collaborative C4 diagramming tool

01
Technical discovery workshops

We started with joint sessions to understand the C4 model implementation, architecture requirements, and user collaboration needs. These workshops shaped the product direction, clarified backend constraints, and aligned everyone on the scope of multiplayer functionality.

02
UX exploration & wireframes

We mapped core user journeys and diagram interaction flows for multiplayer use. The goal was to support both technical and business users in real-time editing without disrupting each other's work. The team translated these flows into clickable wireframes.

03
UI design & system architecture alignment

Design work focused on clarity and consistency across views – especially important in large, complex C4 diagrams. At the same time, we validated design feasibility with technical leads to avoid mismatches between UX goals and React Flow/Yjs limitations.

04
Development & integration

We advised on the implementation of  key features like user presence, live editing, role management, and smooth locking. The frontend was tightly coupled with knowis’s backend logic while preserving React Flow’s extensibility. Throughout, we maintained hassle-free collaboration via Yjs and Hocuspocus.

Solutions

Empowering collaborative software architecture design

Real-time multiplayer with shared editing context

To support collaborative modeling, a real-time multiplayer editing using Yjs and Hocuspocus has been implemented. Within the setup, multiple users can work on the same diagram simultaneously without conflicts. All changes are synced live, with updates appearing instantly across sessions.

Collaboration features in Knowis Solution Builder with colored cursors and relationship sidebar.

C4 model implementation for software architecture

The diagramming system was built around the C4 model, enabling users to switch between different levels of architectural abstraction. From context and container views to component-level breakdowns, users can visualize the architecture stack consistently. With such a layout, it was easy to adapt and support both high-level and granular modeling needs.

Color-coded architectural diagram showing hierarchical node relationships based on the C4 model.

Flexible React Flow foundation

React Flow is used by knowis as the core diagramming engine to support custom logic and rendering for C4-based diagrams. Its extensibility allows it to tailor node types, styling, and interactions to the client's requirements and gives full control over how elements behave and appear on the canvas.

UI of Knowis Solution Builder with system context diagram and integrated React Flow code editor.

Offline resilience and data persistence

With Yjs as the underlying sync engine, the tool supports offline-first use cases. Changes made during a network interruption are stored locally and synced when connectivity is restored. All of that improves reliability for distributed teams and safeguards user input during collaborative work.

Split screen showing offline mode icon and Yjs logo over a container diagram.
React Flow editor with custom code for rendering C4 node types and real-time architecture preview.

Custom node logic and metadata rendering

Nodes were designed to handle detailed metadata, such as service responsibilities, system boundaries, and team ownership. Each diagram element can expose additional context through structured pop-ups or expandable fields. It became a single source of truth across product, dev, and architecture teams.

Actor-system interaction diagram with side panel showing metadata for “Third-Party Supplier” and sticky note for team handoff context.

Commenting layer and team handoff support

To enhance team workflows, a contextual commenting layer within diagrams has been embedded. Users can leave notes tied to specific nodes, helping teams document decisions, ask questions, or flag changes. This feature supports asynchronous collaboration and smooths handoff between stakeholders.

Comparison of system and container diagrams in Knowis interface demonstrating diagram depth.

Scalable structure for complex software architecture

The diagram engine handles complex systems involving dozens of subsystems and dependencies without performance loss. Thanks to selective rendering and structure-first logic, the tool keeps massive architecture models clear and legible — even when dozens of systems, links, and dependencies are involved.

Leverage the potential of frictionless integration with your existing systems

Use powerful diagramming capabilities without changing your tech stack. The new feature  integrates into an existing product thanks to a modular frontend architecture and clear data ownership logic.

From real-time collaboration to advanced visual modeling, the editor works out of the box while respecting your infrastructure, compliance, and DevOps expectations.

  • The frontend was built using React Flow, Yjs, and Hocuspocus – allowing integration without interfering with backend logic or data models.
  • The multiplayer feature is fully decoupled, letting developers integrate collaboration without affecting performance or compliance.
  • The modular setup allows teams to plug in custom metadata, node types, and logic layers directly from their existing systems.
Results

How collaborative diagramming improved the development process

Modular software architecture visualized with precision

Thanks to customized C4-style diagrams, knowis customers can now model complex software architectures in a clear and flexible way. The system supports real-time collaboration and dynamic updates without risking visual clutter or performance loss.

Breeze collaboration between engineering teams

The multiplayer diagram editor enables developers and architects to work on the same service model simultaneously. It reduces friction in handoffs, helping backend and frontend teams stay aligned throughout development.

Clearer understanding of service relationships

With layered views such as dependency, inheritance, and knowledge graphs, the feature now supports detailed service analysis. It explains the architecture visually in a way everyone can understand, ensuring alignment and clarity.

Build faster, visualize better, scale smarter

Need a flexible diagramming engine that fits your architecture? We’ll help you get there – without the rework.

Contact details

By sending a message you allow Synergia Pro Sp. z o.o., with its registered office in Poland, Wroclaw (51-607) Czackiego Street 71, to process your personal data provided by you in the contact form for the purpose of contacting you and providing you with the information you requested. You can withdraw your consent at any time. For more information on data processing and the data controller please refer to our Privacy policy.

*Required
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.