3. Custom Reports & Integrations with GraphQL
3
What you will
learn
How to leverage LeanIX as a platform
How to use GraphQL directly from the tool
How to get started with Custom Reports
4. Motivation: The way to embed LeanIX is evolving (1/3) -
Single Source Of Truth
4
Data input
Upload
Web UI
Survey
Data usage
Download
Web UI
Mobile App
Single
source of
truth
5. Motivation: The way to embed LeanIX is evolving (2/3) -
Out-of-the-box Integrations
5
Data input
Upload
Web UI
Survey
Data usage
Download
Web UI
Mobile App
ITSM
BPM
Vendor Lifecycles
Metrics
BPM
ITSM
Single
source of
truth
Out-of-
the-box
inte-
grations
6. Motivation: The way to embed LeanIX is evolving (3/3) -
Integrated Information Hub
6
Data input
Upload
Web UI
Survey
Data usage
Download
Web UI
Mobile App
ITSM
BPM
Vendor Lifecycles
Metrics
BPM
ITSM
Universe of
modern IT
management
tools
Universe of
modern
reporting
solutions
Single
source of
truth
Out-of-
the-box
inte-
grations
Integrated
information
hub
7. Three reasons to learn more about GraphQL
7
Create custom
integrations
Create custom reports
Conduct ad-hoc
analyses
• For Data Input, e.g. to your BPM, ITSM or monitoring tool
• For Data Usage, e.g. to your Self-Service BI tool
A
B
C
• Enhance the out-of-the-box LeanIX reports by powerful,
individual visualizations based on libraries like d3.js
• Get data out of LeanIX in a few seconds
• Leverage the underlying Graph structure to conduct complex
analyses
8. Six selected Case Studies
8
Data input Data usage
Pharma: Upload
project data from
HP PPM to LeanIX to
relate architecture
planning to execution
Energy: Integrate
ARIS BPM with LeanIX to
relate application to
business processes
Retail: Upload
microservice details to
deploy time from AWS
framework into LeanIX
Pharma: Make
LeanIX data available to
everyone with Microsoft
Power BI
Telco: Visualize and
measure the effects of
Application
Rationalization via
custom reports
Banking: Quantify
the reduction of IT
complexity via ad-hoc
GraphQL analyses
9. What’s wrong with REST (1/2) –
Performance and Usability Limits
9
/applications /capabilities
GET GET
Display interactive reports very fast Many requests & unnecessary network load
10. What’s wrong with REST (2/2) –
Missing Support of customizable Data Model
10
Interface
Application
Provider
IT
Component
Project
User
Group
Data
Object
Tech.
Stack
Business
Capability
Process
Allow full customization of data model Uncomfortable generic access to data
/factSheets
/factSheets/<ID>/attributes
GET
GET
/factSheets/<ID>/relationsGET
16. 16
Embed GraphQL into Python – Set all quality seals (2/2)
More open examples are available at https://github.com/leanix-public/scripts
17. The LeanIX Store leverages our Custom Report framework
which have already matured over the last 18 months
17
Custom Reports based on LeanIX framework
• Embed into menu
• Access to filters & save as bookmark
• Apply views
• Show as table & export
• Open Fact Sheets
1
2
3
4
1
2
3 4
Custom
Report
5
5
à https://github.com/leanix/leanix-reporting-cli
Command Line Tool (CLI) & Library for JavaScript
https://d3js.org/• D3.js
• Highcharts https://www.highcharts.com
Example Libraries for Visualization
• Creates example project to start with
• Supports plain JavaScript or TypeScript
• Allows usage of frameworks Angular or ReactJS
21. Upload the report into the LeanIX store and make it available
in your (or more) workspaces
21
22. It doesn‘t have to be GraphQL – we also offer Webhooks to
create event-based integrations and analytics
22Learn more at https://dev.leanix.net/docs/webhooks
23. 23
Key Take Aways
Don‘t be afraid to use
GraphQL directly
from the UI
APIs and Custom Reports
make it easy to turn
LeanIX into a platform
We have a growing
partner network that
helps you to get started
https://dev.leanix.net/docs/graphql-in-10-minutes
https://github.com/leanix-public