livizjs icon indicating copy to clipboard operation
livizjs copied to clipboard

Docs on how to get a basic example running

Open izuzak opened this issue 13 years ago • 8 comments

Hi,

I'd like to use your library in my project and I was wondering if it would be possible to write up some documentation on how to use the library to get the most basic example running? E.g. how to convert a dot input string to an svg image, without any animations or dynamics. Your demo web app is awesome, but navigating and digging through the code to understand what does what and how to get a simple example running is a bit hard.

I'm sure a lot of people would be grateful for some documentation on how to get started with the underlying JavaScript library (again, not the demo app) and perhaps a list of current features.

Thanks! Awesome work!

izuzak avatar Jul 16 '12 13:07 izuzak

+1 for some copy-pastable examples! Congratulations again on your efforts and for making the source code available here!

gregsadetsky avatar Jul 18 '12 14:07 gregsadetsky

Well, Liviz.js does not use emit system of graphviz to generate animation. But if you want to get just static svg, including graphviz's original emit system while compilation should be an easier way to get it.

gyuque avatar Jul 25 '12 07:07 gyuque

@gyuque this is huge! thanks for sharing the code... the stuff you put together is amazing!

+1 for some basic examples.

muhqu avatar Aug 01 '12 07:08 muhqu

Hello , the example in localhost file runs perfectly in firefox but in chome o IE doesn´t position correctly, apears the box with the message initialing always.......

It runs perfectly the links:

jsPlumb & Liviz.js demo (currently using the sfdp layout engine)

but the example in localhost Internet explorer and chrome it doesn´t

I install :Install Emscripten Backup original Emscripten if you need. Replace src/shell.js and src/library.js in Emscripten with modified files. Modified files are in the source tree.

How I install liviz.js????? The installation the liviz.js is in Windows or linux???

(I install Graphviz but i do´nt know if is needed)

Please help for run the example

ghost avatar Jun 08 '13 02:06 ghost

How convert automatically a dot graph in a JsPlump graph?? The example that I see put the windows node statically... and the conections... insn´t it?????

ghost avatar Jun 08 '13 02:06 ghost

Have same problem as above, any1 managed to solve the issue?

CharlieSa avatar Aug 17 '13 18:08 CharlieSa

same problem. downloaded example is running in firefox but not in chrome. Any updates???

jayant221 avatar Sep 25 '13 14:09 jayant221

Any updates on how to run the example HTML file on chrome?

swatinits avatar Jun 05 '14 21:06 swatinits