Is there draw.io api to manipulate diagrams? - draw.io

I want to create importer/exporter for draw.io. But I can't find how to work with drawio format programmatically. Is there any API available for the purpose?

draw.io is based on mxGraph so probably you will have to use mxGraph's API.
If you want programmatically manipulate the draw.io diagrams file with java you can take a look at this my post
Hoping this is helpful for you

You may use Nasdanika Drawio API to read, manipulate and save Drawio diagrams.

Related

Google Book api , gTTs, googletrans, PyPDF4

I have used Google Book API, gTTs, googletrans, and PyPDF4 in my Django Project. I am trying to draw a Data Flow Diagram of my project. I am confused about the diagram should I draw like
My problem is that I want to know, It is valid to do as I have done in the image. Can I use API and module as a data store in Data Flow Diagram?
please help me to figure it out

Does AWS Comprehend classify images?

I am fairly new to AWS Comprehend. I know that AWS Comprehend can custom classify documents (Text Files). Does, AWS Comprehend also classify Image files? Also, while training the model, is it necessary to give the entire document text in the CSV or will just keywords do?
The reason being, I want to built a custom classifier that can classify invoice, Pay Stubs and few other such document types which are in image formats. Can Comprehend do this? If so how?
Googled quite a lot but couldn't find anything much relevant around. Really appreciate your help with this.
Thank you!
Comprehend doesn't do this natively, so you would have to build a solution. Something you could try is to combine Amazon Textract (for extracting the details from the documents) and then Comprehend to classify them.
From the FAQ, Textract calls out this as a common use case. I couldn't find an exact example of someone doing this, but it is directly called out in the documentation.
Amazon Comprehend only works on text.
Amazon Rekognition works on images.
AWS has all the building blocks to accomplish this, but you will have to configure/build this yourself. You can use AWS Textract to extract all the text from a document, and then pass the text into the AWS Comprehend service to do the classification for document type.
Before you can do this you need to train the machine learning part of Comprehend to do the correct identification of the document types. You need to configure and train a custom classifier in AWS Comprehend where you supply a CSV file with a list of classifications for example 'document type' and then text that would be in the type of document. If it is just forms then you can use Textract Form feature to only get key value pairs, then use the keys (labels in the form) as text for the custom classifier.

Does google store the requests that are sent via Google DLP API

I am trying to understand if Google stores text or data that are sent to DLP API? For example, I am having some data (text files) locally and I am planning to use google DLP to help identify sensitive information and maybe transform those back.
Would Google store the text files data that I am using? In other words, would it retain a copy of the files that I am sending? I am trying to read through the security and compliance page, but there is nothing that I could find that clearly explains this.
Could anyone please advise?
Here is what I was looking at https://cloud.google.com/dlp/data-security
Google DLP API only classifies and identifies the kind of data, mostly sensitive, we want to analyse and Google doesn't store the data we send.
We certainly don't store the data being scanned with the *Content api methods beyond what is needed to process it and return a response to you.

Create simplified version of tableau using Google Maps

Is it possible to create simplified version of Tableau (Just basic visualization) using Google Chart Tools? If so, what are main challenges in imitating Tableau?
What are the advantages of Tableau over Google Chart Tools?
I would recommend reading a bit what Tableau and Google Chart actually does.
Google Chart is a library to create visualisations. Basically you need to have your data ready in the correct format and then with the API you can create and customiza a graph to publish on the web.
Tableau on the other hand gives you the possibility to directly connect to different data sources, blend and join these sources and then create dashboards that give you an overview of whatever data you would like to view.
So to answer your first question
Is it possible to create simplified version of Tableau (Just basic visualization) using Google Chart Tools?
Yes it is possible to create basic visualisation with Google Charts (that's what it's made for) but that's also possible with Excel (although that won't give you the interactivity online).
If so, what are main challenges in imitating Tableau?
You will not be able to join and blend data. You also won't have a fairly easy to understand user interface, since Google Charts is handled on code level. You will also not be able to just "play around" until you see something interesting, at least not as easily as in Tableau
What are the advantages of Tableau over Google Chart Tools?
that depends on your use case. If you want to get some pretty graphs on your website, Tableau won't be able to do the job and you shoudl use Google Charts.
If you want to have complex, interactive dashboards to examine your data from different sources, you will struggle getting all of that together just with Google Charts and you should probably have a look at Tableau.

Web API to get a list of all religions

I am working for a health foundation. We are creating a great app to track everything related to nutrition, activity, milestones, etc. For the profile section, we need to add a list of all religions. Is there an API on the web to retrieve such a list?
It doesn't appear that anything like this exists. ProgrammableWeb has catalogued virtually every usable API.
An API would be too much to have. I suggest hardcode the major religions in this list from wikipedia. (I don't think religions are created often enough to need an API :)
This is the closest that I've found so far. Not exactly a web service but it'll do nicely for some easy copy and paste work, or parsing if you're really dedicated.