This sounds like a javascript scope issue, so one thing you could do is use
different variable names when making your force layouts (if you have the
same variable name in two different files, only the last one to be loaded
will be used). You may want to do some more reading on javascript to get
the fundamentals down, otherwise things may seem a lot harder than they are
:)
On Mon, Jan 16, 2012 at 3:24 AM, s_mb <sebastian.br...@googlemail.com>wrote:
> Hi,
> I want to add two diagramms on my page. Each of them should have a
> force layout with different parameters (gravity, charge, etc). If I
> create two javascript files with two different force layouts, one set
> of settings overwrites the other set.
> Is there a solution?
> Thx
> Sebastian
--
Ian Johnson
http://enja.org