Closed

MxGraph (GraphEditor) -possibly a simple job (from the console: load a diagram using get request; and save diagram using post request)

With MXGraph (GraphEditor), I am having trouble getting the 'editor' parameter in the browser console that is otherwise available in [login to view URL]

Using the browser console I would like to load a diagram's XML (to see loaded XML go to Menu Extras -> Edit Diagram) using a get request and then save the diagram's xml using post request.

Eg Load: to type into browser console (I can't access [login to view URL] in the console ?)

//var url_loadxml ="[login to view URL]"

//jquery get request

//var example_loadedxml='<mxGraphModel dx="1430" dy="752" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="826" pageHeight="1169" background="#ffffff"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="2" value="" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1"><mxGeometry x="250" y="170" width="120" height="80" as="geometry"/></mxCell></root></mxGraphModel>'

//var doc = [login to view URL](example_loadedxml);

//var model = new mxGraphModel();

//var codec = new mxCodec(doc);

//[login to view URL]([login to view URL], model);

//var children = [login to view URL]([login to view URL]([login to view URL](), 0));

//[login to view URL]([login to view URL](children));

(it is the last line above that is the problem as it works in [login to view URL] (but not the

console))

Eg Save: to type into browser console (I can't access [login to view URL] in the console ?)

//var vs_xml = [login to view URL]([login to view URL]());

//var urlPost = "[login to view URL]";

//post using jquery

Skills: Javascript

See more: extjs load save, vb6 load save icon, post web development job, flash as3 load save, save post data xml php, post production photoshop job, post items ebay job, post finnish translation job, bid freelance post production editing job, job cms simple, job application simple form, job application simple, post job ads nationwide craigs list, load xml post php, joomla post job, free post job offer romania, php load xml post, post job freelancer com, wordpress save post problem, website post job print shops bid

About the Employer:
( 12 reviews ) Perth, Australia

Project ID: #14573788

5 freelancers are bidding on average $175 for this job

tranngocanh1702

I am able to fix the editor parameter that is shown on the console log. Relevant Skills and Experience I am Anna with more than 5 years experience in PHP, Laravel framework, Slim framework, CodeIgniter, MySQL, Postgre More

$200 AUD in 3 days
(32 Reviews)
6.2
oklaspec

Hello I am High qualified specialist for your task I have own dynamic react component (not only use component and create web page) For example see my portfolio video dynamic component. See my *react-breadcrumbs-dyna More

$200 AUD in 5 days
(8 Reviews)
5.3
MetaoriginLab

Though I am new here but my team has 4 years of experience into Website Design and Development across all Platforms especially on . Can very well execute this Project and can start immediately.

$170 AUD in 3 days
(2 Reviews)
0.9
RajeevKrGupta

Hi,I just read your requirement. I offer you a minimum cost & timeline that will not let you down. I will do end to end communication from my end. About my work, I don't tell in words, it tells my work. I will do end More

$149 AUD in 4 days
(0 Reviews)
0.0
$155 AUD in 2 days
(0 Reviews)
0.2