Re: [Dynagraph2-users] OLE build
Brought to you by:
gordonwoodhull
From: Gordon W. <go...@wo...> - 2014-01-12 23:16:34
|
Wait, are you only going down this path because nail isn't supported by incrface? That would be embarrassing. > On Jan 12, 2014, at 6:01 PM, Gordon Woodhull <go...@wo...> wrote: > > Please post the specific problem you are having with linking cdt. > > I don't remember any difficulties there, as long as the project had the same options and so on. > > Also what patched version are you referring to? All I found on a quick search was the Debian version, which should work but is not necessary. The Graphviz code used by Dynagraph is very simple cross platform stuff and I've always used the original releases fine. > > Sorry the build is not so easy. I have plans to replace these graphviz components with code available in Boost but never find the time. > > Cheers > Gordon > > >> On Jan 12, 2014, at 6:51 AM, Jibin Ou <jib...@rw...> wrote: >> >> Hi Gordon, >> >> thanks for your reply and support. I think what I am looking for is exactly a Nail, which just fixes part of the nodes and lets DynaDAG optimize the rest. >> >> However, although I am already using the patched edition which is modified by Frankie. Compiling is already fine in VS2010. All the current problems come from linking. It seems a main problem is from linking the CDT project in GraphViz. However, I have tried various solution and still can not eliminate this problem. Would any body offer some hints for that? >> >> Best regards, >> >> Jibin >> >> On 01/10/14, Gordon Woodhull <go...@wo...> wrote: >> >> Hi Jibin, >> >> Although the feature is there, it is more of a suggestion than a hard constraint on layout. >> >> >> I think you will find that dragging a node leaves it pretty close to where you drop it, and it mostly stays there until there are too many changes around it (especially adding and removing edges) that cause DynaDAG to want to move it somewhere else. >> >> >> I'm sorry if this is a vague answer, but the core algorithm isn't really set up to deal with absolute positions. If you check out the paper, you'll see that what it's really doing is assigning nodes to rows ("ranks") to minimize vertical edge length, and then rearranging them within those ranks to reduce crossings and horizontal edge length. >> >> >> So it's more that if you ask for a Nail, DynaDAG doesn't attempt to optimize each of the dimensions, which should leave it in mostly the same place - unless you ask it to optimize something around it. >> >> >> It's not a very strong promise, but I found that it worked pretty well for a dynamic graph editor. >> >> >> Cheers, >> Gordon >> >> >> >> >> >> On Jan 10, 2014, at 9:39 AM, Jibin Ou <jib...@rw... <jib...@rw...>> wrote: >> >> Hello Gordon, >> >> Yes, I will release the wrapper when I finish my thesis and have time to clean the code. Meanwhile, I have a crucial question, regarding a feature in DynaGraph. As stated in the documentation, it is possible to fix positions of nodes in C++ API, using NailType. >> >> N/A NailType nail N/A >> (in) Specifies the mobility of the node. Only Y-axis nailing is available, and only in Dynadag. Default: none. >> >> DG_NONAIL The node can be positioned at the server's discretion. >> DG_NAIL_X The server attempts to keep the node at the same X position. >> DG_NAIL_Y The Y position (rank) is fixed. >> DG_NAIL_BOTH The node is immobile. >> >> Does it mean that if I set the node position fixed, the coordinate will be kept definitely steady in the future operations? If so, this will be super useful.(See the figure in attachment) A user can manually drag a node and fix its position. I am planning to offer a UI in which a user can change the position of a node as well as incrementally add and delete nodes. Without the possibility to fix a position, all the manual changes will be erased after any change in the graph. >> >> Best regards, >> >> Jibin >> >> On 01/09/14, Gordon Woodhull <go...@wo... <go...@wo...>> wrote: >> >> >> Fantastic! Yes, I should have mentioned that the incrface text interface is the most robust and easiest to get working. I think there is a small performance penalty for serializing/deserializing to text and pushing the data through a pipe, but it shouldn't matter much. >> >> If you'd care to release your c# incrface parse as open source, I'm sure others would appreciate it. >> >> Cheers >> Gordon >> >> >> >> On Jan 9, 2014, at 3:48 AM, Jibin Ou <jib...@rw... <jib...@rw...>> wrote: >> >> Hello guys, >> >> thank you very much for your help. I didn't have enough time to try to build the patched version. Instead, I have partially translated the Dynagraph for grappa code into c#. Now I can interact with the executable file in .Net environment. I might also try the comdg in this weekend. >> >> Best regards, >> >> Jibin Ou >> >> ---------------------------------------------------------------------------------------------------- >> >> >> Hi Jibin! >> >> >> I think you mean, it's the only open-sourced directed graph layout algorithm. Still. And it's been over 10 years now. >> >> Obviously, Dynagraph is not in active development right now, but what you are doing should work once the bit-rot is defeated. I believe others were successful in the past with using the comdg objects in .NET. >> >> As you point out, though, the main problem is that there have been several releases of Windows since then, and even more releases of MSVC. I think I did get it to build under Windows a couple of years ago, but I'm not sure if I updated the repo. >> >> Even when they worked, the build instructions were a bit ungainly: >> http://www.dynagraph.org/building-dgwin.php >> >> I guess the best I can say, unfortunately, is Patches Welcome! Hopefully sometime I will find a free day to update everything, but I'm not sure when that will be. >> >> Cheers, >> Gordon >> >> >> On Jan 2, 2014, at 11:41 AM, Jibin Ou <jib...@rw...> wrote: >> >> Hi Gordon, >> >> Happy new year! I am a student from Switzerland. I intend to develop an interactive debugger using DynaGraph, since it is the only open-sourced and dynamic layout algorithm in the market. However, the binary build of dgwin seems to be not compatible with Win 8. And when I tried to build it the dgwin solution, it failed with various kinds of errors. Is there any easy way which I can use DynaGraph in .NET? I expect to use comdg to get the positions of vertices and edges and draw them in WPF. Do you think this approach is meaningful? >> >> Best regards, >> >> Jibin Ou >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Dynagraph2-users mailing list >> Dyn...@li... >> https://lists.sourceforge.net/lists/listinfo/dynagraph2-users >> >> >> ------------------------------------------------------------------------------ >> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >> Learn Why More Businesses Are Choosing CenturyLink Cloud For >> Critical Workloads, Development Environments & Everything In Between. >> Get a Quote or Start a Free Trial Today. >> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >> _______________________________________________ >> Dynagraph2-users mailing list >> Dyn...@li... >> https://lists.sourceforge.net/lists/listinfo/dynagraph2-users >> >> >> <FIxed position.jpg> >> <errors.png> > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Dynagraph2-users mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynagraph2-users |