Graph API (Beta)


API Graph

A third party can request information about all of the blocks, lines, connections, and text fields. No styling information will be returned. This API is in beta.

Any custom shape created or renamed after July 8th, 2013 will have a <customName> attribute as well

URL

https://www.lucidchart.com/api/graph/<document id>

OAuth parameters

required

Response

document
  documentId
  title
  version
  blocks
    id
    class
    customName (if present)
    textAreas
        textArea
            key
            value
        textArea
            key
            value
        ...*
    text (if present)
    link (if present)
    field (if present)
  lines
    id
    endpoint1
      style
      text (if present)
      line (if connected to line)
      block (if connected to block)
    endpoint2
      * see endpoint1

Example

https://www.lucidchart.com/api/graph/4e8cc0f9-69f8-4d42-9993-0d5633ee25f2


<document>
  <documentId>4e8cc0f9-69f8-4d42-9993-0d5633ee25f2</documentId>
  <title>asd</title>
  <version>70</version>
   <blocks>
     <block>
     <id>Sh6DwyXm4ZYP</id>
     <class>ERDEntityBlock</class>
     <field>Field</field>
     <field>Field</field>
   </block>
     <block>
     <id>Qn6DHVIX_Z_J</id>
     <class>ProcessBlock</class>
     <text>Process</text>
   </block>
     <block>
     <id>gx6D89zN5VyN</id>
     <class>OffPageLinkBlock</class>
     <link>ext:https://www.lucidchart.com</link>
     <text>Off-Page Link</text>
   </block>
  </blocks>
    <lines>
     <line>
     <id>Ei6DlbvpCxJz</id>
       <endpoint1>
       <style>None</style>
     </endpoint1>
      <endpoint2>
      <style>Arrow</style>
     </endpoint2>
   </line>
    <line>
     <id>Gi6DFkSl4VEu</id>
      <endpoint1>
      <style>None</style>
      <block>Sh6DwyXm4ZYP</block>
     </endpoint1>
      <endpoint2>
      <style>Arrow</style>
      <line>Ei6DlbvpCxJz</line>
     </endpoint2>
     <text>right here</text>
   </line>
  </lines>
</document>

Documentation

Client side debugging

To see what the graph API will give you from a server side call, without having to make a server call, you can open a document in Chrome, open the javascript console (ctrl+shift+j) and type:

lucid.getGraphData()

This will output an XML string of the graph data for the selected blocks and lines, or if none are selected it will output the state of the entire document.

Shape library textarea keys

Flowchart

ProcessText
DecisionText
TerminatorText
Predefined ProcessText
DocumentText
Multiple DocumentsText
Manual InputText
PreparationText
Data (I/O)Text
DatabaseText
Direct Access Storage (Hard Disk)Text
Internal StorageText
Paper TapeText
Manual OperationText
DelayText
Stored DataText
MergeText
ConnectorText
DisplayText
Off-Page LinkText
NoteText
Swim LaneLane_##

Geometric Shapes

Isosceles TriangleText
Right TriangleText
PentagonText
HexagonText
OctagonText
CrossText
Right ArrowText
CloudText
HeartText
StarText
Left ArrowText
Up ArrowText
Down ArrowText
CalloutTip

Entity Relationship

ERD Entity BlockName, Field[row#]
ERD Entity Block 2Name, Key[row#],Field[row#]
ERD Entity Block 3Name, Field[row#], Type[row#]
ERD Entity Block 4Name, Key[row#], Field[row#], Type[row#]

UML

ClassTitle, Text1, Text2
Active ClassText
Simple ClassTitle, Text1, Text2
InterfaceTitle, Text1, Text2
Simple InterfaceTitle, Text1, Text2
MultiplicityText
PackageTitle, Text
ConstraintText
NoteText
TextText
ActorText
Use CaseText, ExtensionPoints, ExtensionPointLabel
Use Case(w/ Extension Points)Text, ExtensionPoints, ExtensionPointLabel
Oval Container 
Rectangle ContainerText
Option LoopTitle, Text
Start 
State/ActivityState, Action
Branch/Merge 
Horizontal Fork/Join 
Vertical Fork/Join 
Flow Final 
History Pseudostate 
End 
ObjectText
Send SignalText
Receive SignalText
UML ObjectText
Activation 
Deletion 
AlternativeTitle, Text, Else
EntityText
BoundaryText
ControlText
ComponentText
NodeText
UML NodeText
UML Node InstanceText
Weak EntityText
AttributeText
Multi-valued AttributeText
RelationshipText
Weak RelationshipText

BPMN 2.0

TaskText
TransactionText
Event Sub-ProcessText
Call ActivityText
Start EventText
Intermediate EventText
End EventText
ChoreographyParticipant1, Name, TaskName
ConversationText
GatewayText
Data ObjectText, Title
Data StoreText
Pool (White Box)MainText, Lane_0, Lane_1
Pool (Black Box)Text

Data Flow

External EntityText
ProcessText
YDMDFDDataStoreText
ProcessNumber, Text
ProcessText
Data StoreNumber, Text
Data StoreText
  

Org Charts

Org ChartName, Role, Phone, Email

Value Stream

Customer/SupplierText
Dedicated ProcessTitle, Text
Shared ProcessText, Resource
WorkcellText
Data CellCell_1, Cell_2, Cell_3
InventoryText
SupermarketCell_1, Cell_2, Cell_3
Physical Pull 
FIFO Lane 
Safety/Buffer StockCell_1, Cell_2, Cell_3
External Shipment AirplaneText
External Shipment ForkliftText
External Shipment TruckText
External Shipment Boat 
Production ControlTitle, Resources
Other InformationText
Heijyunka BoxTitle, Text1, Text2
Sequenced Pull Ball 
MRP/ERPText
Load Leveling 
Go See 
Go See ProductionText
Verbal Information 
Kaizen BurstText
OperatorText
Timelinetw_1, tw_2, TotalVA, TotalNVA
Quality ProblemText
Production KanbanText
Production Kanban BatchText
Withdrawal KanbanText
Withdrawal Kanban BatchText
Signal KanbanText
Kanban Post 
Shipment ArrowText
Push Arrow 
Electronic Information ArrowTitle

AWS Architecture

Amazon EC2Title, Text
InstanceTitle, Text
InstancesTitle
AMITitle
DB on InstanceTitle
Instance with CloudWatchTitle
Elastic IPTitle
Amazon Elastic MapReduceTitle
ClusterTitle
HDFS ClusterTitle
Auto ScalingTitle
S3 BucketTitle, Text
BucketTitle, Text
Bucket with ObjectsTitle
ObjectTitle, Text
AWS Import/ExportTitle
AWS Storage Gateway ServiceTitle
EBSTitle, Text
VolumeTitle, Text
SnapshotTitle, Text
Amazon CloudFrontTitle
Download DistributionTitle
Streaming DistributionTitle
Edge LocationTitle
Amazon CloudWatchTitle
AlarmTitle
Elastic Load BalancerTitle
AWS Direct ConnectTitle
Amazon Route 53Title, Text
Hosted ZoneTitle, Text
Route TableTitle, Top, Middle, Bottom
VPCTitle
VPN ConnectionTitle
VPN GatewayTitle
Customer GatewayTitle
Internet GatewayTitle
RouterTitle
Amazon SimpleDBTitle
DomainTitle
ItemTitle
ItemsTitle
AttributeTitle
AttributesTitle
Relational DatabaseTitle, Text
RDS DB InstanceTitle
RDS DB Intance Standby (Multi-AZ)Title
RDS DB Instance Read ReplicaTitle
Oracle DB InstanceTitle
MySQL DB InstanceTitle
Amazon DynamoDBTitle
TableTitle
Amazon ElastiCacheTitle
EmailTitle
Simple NotificationTitle
TopicText, Title
Email NotificationTitle
HTTP NotificationTitle
Simple Queue ServiceTitle
QueueTitle
MessageTitle
DeciderTitle
WorkerTitle
TemplateTitle
StackTitle
AWS Elastic BeanstalkTitle
ApplicationTitle
Amazon Mechanical TurkTitle
Human Intelligence Tasks (HIT)Title
Assignment/TaskTitle
WorkersTitle
RequesterTitle
AWS CloudTitle
UserTitle
UsersTitle
ClientTitle
Mobile ClientTitle
MultimediaTitle
Corporate Data CenterTitle
Traditional ServerTitle
InternetTitle
AWS Management ConsoleTitle
IAM Add-onTitle
Example: IAM Add-onTitle
SubnetTitle
Auto Scaling ContainerTitle
Availability ZoneTitle
Region ContainerTitle
Security Group ContainerTitle
Elastic Beanstalk ContainerTitle
EC2 Instance ContainerTitle
Subnet ContainerTitle
VPC ContainerTitle
AWS Cloud ContainerTitle
Corporate Data Center ContainerTitle
Server ContentsTitle

Cisco Network Icons

Androgenous PersonTitle
ATM SwitchTitle
CloudTitle
FileserverTitle
firewallTitle
generic buildingTitle
laptopTitle
lockTitle
microwebserverTitle
pcTitle
pdaTitle
phoneTitle
printerTitle
relational databaseTitle
routerTitle
standing manTitle
standing womanTitle
upsTitle
wireless routerTitle
100baset hubTitle
10700Title
10GE_FCoETitle
15200Title
3174 (desktop)Title
3200 mobile access routerTitle
3x74 (floor)Title
6700 seriesTitle
7500ars (7513)Title
Access gatewayTitle
AccesspointTitle
AceTitle
ACSTitle
AdmTitle
AntennaTitle
Asic ProcessorTitle
ASR 1000 SeriesTitle
AtaTitle
Atm 3800Title
Atm Fast Gigabit EtherswitchTitle
Atm RouterTitle
Atm Tag Switch RouterTitle
AvsTitle
AXPTitle
Bbfw MediaTitle
BbfwTitle
BbsmTitle
Branch OfficeTitle
Breakout BoxTitle
BridgeTitle
Broadband RouterTitle
Bts 10200Title
Cable ModemTitle
CallmanagerTitle
CarTitle
Carrier Routing SystemTitle
Cddi-fddiTitle
CdmTitle
Cellular PhoneTitle
Centri FirewallTitle
Cisco 1000Title
Cisco Asa 5500Title
Cisco CaTitle
Cisco File EngineTitle
Cisco HubTitle
CiscosecurityTitle
Cisco Telepresence ManagerTitle
Cisco Unified Presence ServerTitle
Cisco UnityexpressTitle
CiscoworksTitle
Class 4_5 SwitchTitle
Communications ServerTitle
Contact CenterTitle
Content Engine (Cache Director)Title
Content Service RouterTitle
Content Service Switch 1100Title
Content Switch ModuleTitle
Content SwitchTitle
Content Transformation Engine (Cte)Title
Cs-marsTitle
Csm-sTitle
Csu_dsuTitle
CUBETitle
DetectorTitle
Director-Class Fibre Channel DirectorTitle
Directory ServerTitle
DisketteTitle
Distributed DirectorTitle
Dot-dotTitle
DptTitle
DslamTitle
Dual Mode apTitle
Dwdm FilterTitle
End OfficeTitle
FaxTitle
Fc StorageTitle
Fddi RingTitle
Fibre Channel Disk SubsystemTitle
Fibre ChanneL Fabric SwitchTitle
File CabinetTitle
File ServerTitle
Firewall Service Module (fwsm)Title
Front End ProcessorTitle
GatekeeperTitle
General ApplianceTitle
Generic gatewayTitle
Generic ProcessorTitle
Generic SoftswitchTitle
Gigabit Switch Atm Tag RouterTitle
Government BuildingTitle
Ground TerminalTitle
GuardTitle
HandheldTitle
HootphoneTitle
HostTitle
Hp MiniTitle
HTitle
HubTitle
Iad RouterTitle
IBM MainframeTitle
IBM Mini as400Title
IBM TowerTitle
IcmTitle
IcsTitle
Intelliswitch StackTitle
iOS FirewallTitle
IP CommunicatorTitle
IP DslTitle
IP PhoneTitle
IPTitle
IPTCTitle
IP Telephony RouterTitle
IPTV ServerTitle
ISCSI RouterTitle
ISDN SwitchTitle
ITPTitle
JBODTitle
KeyTitle
KeysTitle
Lan To LanTitle
Layer 2 Remote SwitchTitle
Layer 3 SwitchTitle
Lightweight APTitle
LocaldirectorTitle
Longreach CPETitle
MacintoshTitle
Mac WomanTitle
Man_WomanTitle
Mas GatewayTitle
MAUTitle
MCUTitle
MDUTitle
ME 1100Title
MediatorTitle
meetingplaceTitle
Mesh APTitle
Metro 1500Title
MGX 8000 Multiservice SwitchTitle
MicrophoneTitle
Mini VAXTitle
Mobile Access IP PhoneTitle
Mobile Access RouterTitle
ModemTitle
Moh ServerTitle
MSETitle
Multiswitch DeviceTitle
Multi-Fabric Server SwitchTitle
Multilayer Remote SwitchTitle
MUXTitle
MXETitle
Nac ApplianceTitle
NCETitle
NCE RouterTitle
Netflow RouterTitle
NetrangerTitle
NetsonarTitle
Network ManagementTitle
Nexus 1000Title
Nexus 2000Title
Nexus 5000Title
Nexus 7000Title
OctelTitle
Ons15500Title
Optical AmplifierTitle
Optical Services RouterTitle
Optical TransportTitle
PadTitle
Pad XTitle
Page IconTitle
PBXTitle
PBX SwitchTitle
PC Adapter CardTitle
PC ManTitle
PC RoutercardTitle
PC SoftwareTitle
PC VideoTitle
Phone_faxTitle
Pix FirewallTitle
PMCTitle
Programmable SwitchTitle
Protocol TranslatorTitle
PXFTitle
Radio TowerTitle
RatemuxTitle
RepeaterTitle
RF ModemTitle
Router_FirewallTitle
Routerin BuildingTitle
Router With Silicon SwitchTitle
Route Switch ProcessorTitle
RpsrpsTitle
Running ManTitle
Satellite DishTitle
SatelliteTitle
ScannerTitle
Server SwitchTitle
Server with RouterTitle
Service ControlTitle
Service ModuleTitle
Service RouterTitle
ServicesTitle
Set Top BoxTitle
Simulitlayer SwitchTitle
SIP Proxy WerverTitle
Sitting WomanTitle
Small BusinessTitle
Small HubTitle
SoftphoneTitle
Softswitch PGW MGCTitle
Software Based ServerTitle
Space RouterTitle
SpeakerTitle
SSCTitle
SSL TerminatorTitle
Standard HostTitle
STBTitle
Storage RouterTitle
Storage ServerTitle
STPTitle
StreamerTitle
Sun WorkstationTitle
SupercomputerTitle
SVXTitle
System ControllerTitle
TabletTitle
Tape ArrayTitle
TDM RouterTitle
Telecommuter House PCTitle
Telecommuter HouseTitle
Telecommuter IconTitle
Telepresence 1000Title
Telepresence 3000Title
Telepresence 3200Title
Telepresence 500Title
TerminalTitle
TokenTitle
TP MCUTitle
TranspathTitle
TruckTitle
TurretTitle
TVTitle
Ubr910Title
UMG SeriesTitle
Unity ServerTitle
Universal GatewayTitle
UniversityTitle
UPCTitle
VaultTitle
Video CameraTitle
VIPTitle
Virtual Layer SwitchTitle
Virtual Switch COntroller (VSC3000)Title
Voice Atm SwitchTitle
Voice CommserverTitle
Voice RouterTitle
Voice SwitchTitle
VPN ConcentratorTitle
VPN GatewayTitle
VSSTitle
WaeTitle
Wavelength RouterTitle
Web BrowserTitle
Web ClusterTitle
Wi-Fi TagTitle
Wireless BridgeTitle
Wireless Location ApplianceTitle
WirelessTitle
Wireless TransportTitle
WismTitle
Wlan ControllerTitle
Workgroup DirectorTitle
Workgroup SwitchTitle
WorkstationTitle
www ServerTitle

Network Infrastructure

PCTitle
Virtual PCTitle
TerminalTitle
Data TypeTitle
Slate DeviceTitle
Tablet DeviceTitle
Laptop DeviceTitle
PDATitle
CRT MonitorTitle
LCD MonitorTitle
A/B SwitchTitle
RepeaterTitle
Diagnostic DeviceTitle
Card ReaderTitle
Patch PanelTitle
Radio TowerTitle
Biometric ReaderTitle
External Hard DriveTitle
Web ServiceTitle
Fiber OpticTitle
Satellite DishTitle
SatelliteTitle
VoIP PhoneTitle
PBXTitle
MLPSTitle
Wireless Access PointTitle
Ring NetworkTitle
EthernetTitle
ServerTitle
External Media DriveTitle
MainframeTitle
RouterTitle
SwitchTitle
FirewallTitle
UserTitle
Comm-LinkTitle
Super ComputerTitle
Virtual ServerTitle
PrinterTitle
PlotterTitle
ScannerTitle
CoperTitle
Fax MachineTitle
Multi Function MachineTitle
ProjectorTitle
Projector ScreenTitle
BridgeTitle
HubTitle
ModemTitle
TelephoneTitle
Cell PhoneTitle
Smart PhoneTitle
Video PhoneTitle
CameraTitle
Video CameraTitle

Server Rack Diagrams

Server RackText
Blank SlotText
RAID ArrayText
ServerText
Ethernet SwitchText
Patch PanelText
RouterText
MonitorText
Slideout KeyboardText
Power StripText
Power SupplyText
BridgeText
Tape DriveText

Tech Clipart

ServerTitle
File ServerTitle
Net ServerTitle
Net Server (Large)Title
RAID DeviceTitle
Large RAID DeviceTitle
Server RackTitle
Tape Backup RackTitle
Small PrinterTitle
Large PrinterTitle
Large-Format PrinterTitle
RouterTitle
Wireless RouterTitle
UPSTitle
2.0 SpeakersTitle
Slide ScannerTitle
2.1 SpeakersTitle
5.1 SpeakersTitle
LCD MonitorTitle
PDATitle
Memory Card ReaderTitle
CamcorderTitle
HeadsetTitle
CalculatorTitle
Flatbed ScannerTitle
Photo PrinterTitle
Photo ScannerTitle
ProjectorTitle
External Drive (Firewire)Title
External Drive (USB)Title
External ModemTitle
External TV TunerTitle
MP3 PlayerTitle
External Sound Card (Box)Title
Wide-Screen LCDTitle
2.0 SpeakersTitle
2.1 SpeakersTitle
5.1 SpeakersTitle
Record PlayerTitle
HeadsetTitle

Circuit Diagrams

AmplifierTitle
Operational AmplifierTitle
Controlled AmplifierTitle
Multiplexer 
Demultiplexer 
Capacitor 1Title
Capacitor 2Title
Diode 
ResistorTitle
Variable ResistorTitle
PotentiometerTitle
Protective Earth 
Signal Ground 
Transformer 
_InductorTitle
_Variable InductorTitle
2-Way Switch 
On/Off Switch 
Loudspeaker 
Motor 
LED1 
Lightbulb 
ICPin0, Pin1, Pin2,..., Title
AC Voltage SourceTitle
Voltage SourceTitle
Current SourceTitle
Controlled Current SourceTitle
Controlled Current SourceTitle
Controlled Voltage SourceTitle
DC Voltage Source 1Title
DC Voltage Source 2Title
VSSTitle
VDD 
BJT PNP 
BJT NPN 
JFET P-Channel 
JFET N-Channel 
MOSFET P-Channel 1 
MOSFET P-Channel 2 
MOSFET P-Channel 3 
MOSFET N-Channel 1 
MOSFET N-Channel 2 
MOSFET N-Channel 3 
Single Pole Single Throw (SPST) 
Single Pole Double Throw (SPDT) 
Double Pole Single Throw (DPST) 
Double Pole Double Throw (DPDT) 
AND 
OR 
Inverter 
NAND 
NOR 
XOR 
NXOR 
D Type RS Flip Flop 
D Type Flip Flop 
D Type Flip Flop With Clear 
RS Latch 
Synchronous RS Latch 
T Type Flip Flop 
Positive 
Negative 
Inverter Contact 
Voltmeter 
Ammeter 
Sine Wave 
Sawtooth 
Square Wave 

Mind Mapping

Mind Map NodeText

Process Engineering

Agitator or Mixer 
Air Cooled Exchanger 
Boiler 
Condenser 
Diesel Motor 
Double Flow Turbine 
Double Pipe Heat 
VesselText
Open TankText
Closed TankText
Storage SphereText
ColumnText
BagText
Gas CylinderText
Gas HolderText
ClarifierText
TankText
Tray ColumnText
Reaction VesselText
BoilerText
CondenserText
Cooling TowerText
Heat ExchangerText
Ejector/InjectorText
Compressor/TurbineText
Motor Driven TurbineText
Triple Fan BladesText
Fan BladesText
Centrifugal PumpText
Gate ValveText
Butterfly ValveText
Ball ValveText