P ORTOLAN: a Model-Driven Cartography Framework

Vincent Mahé, Salvador Martínez Perez, Guillaume Doux, Hugo Bruneliere, Jordi CabotarXiv 2011

Abstract

Processing large amounts of data to extract useful information is an essential task within companies. To help in this task, visualization techniques have been commonly used due to their capacity to present data in synthesized views, easier to understand and manage. However, achieving the right visualization display for a data set is a complex cartography process that involves several transformation steps to adapt the (domain) data to the (visualization) data format expected by visualization tools. To maximize the benefits of visualization we propose Portolan, a generic model-driven cartography framework that facilitates the discovery of the data to visualize, the specification of view definitions for that data and the transformations to bridge the gap with the visualization tools. Our approach has been implemented on top of the Eclipse EMF modeling framework and validated on three different use cases.

Introduction

In the modern enterprise, data is ubiquitous, yet its value is often locked behind complex, disparate structures. Effective visualization is key to unlocking this value, but the process of creating these visualizations is frequently siloed and manual. The primary obstacle is the structural gap: business data stored in databases, XML, or Excel rarely aligns with the input formats required by visualization tools, such as GraphML for network diagrams or KML for geospatial maps. Traditionally, engineers bridge this gap with ad-hoc, hard-coded scripts that are difficult to maintain and impossible to reuse across projects. PORTOLAN addresses this by providing a unified, systematic Model-Driven Engineering (MDE) framework to manage the data-to-visualization pipeline.

The PORTOLAN Framework

PORTOLAN treats data structures as "models" and the conversion process as "model transformations." This approach decouples domain-specific data from specific visualization tools, allowing for greater flexibility and reuse. The framework identifies three distinct roles: the Cartography User (who views the data), the Cartography Designer (the MDE expert who sets up the pipeline), and the Visualization Provider (who builds the pluggable viewers).

The Cartography Process

The framework defines four high-level tasks to move from raw data to a final visual representation:

  1. Metamodeling: Defining domain-specific concepts (e.g., "Research Teams") by extending the core pivot metamodel.
  2. Discovery: Injecting raw data (XML, Excel, etc.) into a model conforming to the metamodel.
  3. View Definition: Using model-to-model transformations (specifically the Atlas Transformation Language, or ATL) to filter or compute new information from the data.
  4. Visualization: Transforming the final model into a format the viewer understands (e.g., converting a "LocatedElement" into a Google Maps pin).
The PORTOLAN cartography process and stakeholder roles

The Core Metamodel

At the heart of PORTOLAN is a generic "pivot" language called the Cartography Metamodel. It defines universal concepts necessary for visualization, such as Entities and Relationships for building graphs, and LocatedElements for geospatial mapping. By using this central metamodel, the framework solves the $N \times M$ integration problem; developers only need to write a "Discovery" transformation once for a data source and a "Visualization" transformation once for a tool, reducing the total effort to $N + M$ connections.

The core Cartography Metamodel acting as a generic pivot language

Validation and Use Cases

The framework was validated through three real-world industrial use cases:

  • INRIA Collaborations: Visualizing research activity and team interactions based on internal XML documents.
  • Banking Interoperability: Mapping the complex web of software tools and file formats used by a large bank, sourced from Microsoft Excel data.
  • Eclipse B3 Build Models: Visualizing component dependencies within software build definitions to identify inappropriate update sites.

Key Results and Insights

PORTOLAN demonstrates significant versatility, successfully generating network graphs (via Prefuse), geospatial maps (via Google Maps), and hierarchical model browsers (via MoDisco) within a single environment. A key insight is the power of Extensibility via Inheritance: users do not have to discard the generic metamodel to handle specialized data. They can create a Domain Specific Language (DSL) that inherits from core Cartography types, ensuring immediate compatibility with existing viewers. Furthermore, the framework automates the transformation chain, often reducing the entire process to a single button click for the end-user once the pipeline is configured.

Conclusion

While PORTOLAN effectively bridges the gap between raw data and visualization, it currently requires significant MDE expertise to set up the initial "Discovery" and "View Definition" steps. Future work aims to lower this expertise barrier, improve scalability for massive datasets that require advanced clustering, and expand the library of predefined visualization tools.

Summary updated

BibTeX
@misc{mahe2011p,
  author = {Vincent Mahé and Salvador Martínez Perez and Guillaume Doux and Hugo Bruneliere and Jordi Cabot},
  title = {{P ORTOLAN: a Model-Driven Cartography Framework}},
  year = {2011},
  eprint = {1102.4684},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1102.4684},
}
Figure