Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ (mapper drawing) force-directed layout for graphs with default layouts

(mapper drawing) force-directed layout for graphs with default layouts

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2  3  4 

Posted by Tsunami   USA  (204 posts)  Bio
Date Reply #45 on Tue 01 Jun 2010 03:21 AM (UTC)

Amended on Mon 20 Jan 2020 08:28 PM (UTC) by Tsunami

Message
I've put up the code at github:

Let me know if there are any problems; its the first time I've used git, so bear with me :) Requires .NETv4 to compile, the project is openable in VS2010. If you don't have it, try the Express edition, no guarantees though. You can always compile from the command line, or recreate the project in an older version of VS, which should work if you can get it to recognize .NETv4.

I've also provided a download of the program I wrote to display the graphs:

Takes two command line arguments, first, the path to a map database in Nick's format, second the room id to start loading from. It will load the area that room is in and lay it out. Command line output is an approximation of the energy remaining in the system at each frame update and a summary at the end.
Top

Posted by Tsunami   USA  (204 posts)  Bio
Date Reply #46 on Tue 01 Jun 2010 09:42 PM (UTC)
Message
I'm open to suggestions on the best way to integrate this with MUSHclient. At the moment, I'm trying to port it to C++, but I expect this to take a bit, since I will probably try to integrate it with the boost graphing library rather than rewrite my own (plus I hate writing stl boilerplate).

Also taking suggestions for improvements and so forth :)
Top

Posted by Tsunami   USA  (204 posts)  Bio
Date Reply #47 on Sat 05 Jun 2010 04:49 PM (UTC)
Message
Nick, quick question, what SKU of Visual Studio are you using to compile? The reason being I'm looking at using OpenMP for some parallelized code, but it's only supported on 2005 Professional or Team System and above.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #48 on Sat 05 Jun 2010 11:19 PM (UTC)
Message
Visual C++ 6.0. Copyright 1994-1998. So it is quite old. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Tsunami   USA  (204 posts)  Bio
Date Reply #49 on Sat 05 Jun 2010 11:58 PM (UTC)
Message
Nick Gammon said:

Visual C++ 6.0. Copyright 1994-1998. So it is quite old. :)


Oh, ok, I thought I had remembered from somewhere you used something a little more recent but I must have made it up :)
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #50 on Sun 06 Jun 2010 03:24 AM (UTC)
Message
I use Visual Studio 2005, myself, and MUSH more or less compiles under it. If I remember, the main issue is that Nick doesn't want to dish out several hundred dollars when what he has does just fine.

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #51 on Sun 06 Jun 2010 03:43 AM (UTC)
Message
Yes, around $AUD 500, and there is no real guarantee that I won't then spend 4 weeks making it compile without errors (unless someone here says they have got this version to work OK).

http://www.microsoftstore.com.au/shop/en-AU/Microsoft/Visual-Studio-Standard-2008

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #52 on Mon 22 Nov 2010 06:29 PM (UTC)

Amended on Mon 22 Nov 2010 06:31 PM (UTC) by Fiendish

Message
Twisol said:

If I remember, the main issue is that Nick doesn't want to dish out several hundred dollars when what he has does just fine.

What, is the express edition not sufficient for some reason? Visual C++ Express is free and quite complete. The features that differentiate Express from the costly versions are all corporate-y things, like back-end integration with a clearcase server, that I've never found useful.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #53 on Mon 22 Nov 2010 08:29 PM (UTC)
Message
Express doesn't have MFC. MFC is heavily used in the code.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #54 on Mon 22 Nov 2010 08:33 PM (UTC)
Message
Nick Gammon said:

Express doesn't have MFC.

Oh. Grumblecakes.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #55 on Mon 22 Nov 2010 08:33 PM (UTC)
Message
Here:

http://www.microsoft.com/express/support/support-faq.aspx

Quote:

Does Visual C++ 2008 Express Edition include MFC and ATL?

No, MFC and ATL are not included with Visual C++ 2008 Express. MFC and ATL will be included in Visual Studio 2008 Standard and above editions.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Twisol   USA  (2,257 posts)  Bio
Date Reply #56 on Mon 22 Nov 2010 08:48 PM (UTC)
Message
Fiendish said:
The features that differentiate Express from the costly versions are all corporate-y things, like back-end integration with a clearcase server, that I've never found useful.

They also include a resource editor. ~_^

'Soludra' on Achaea

Blog: http://jonathan.com/
GitHub: http://github.com/Twisol
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


134,536 views.

This is page 4, subject is 4 pages long:  [Previous page]  1  2  3  4 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.