473,396 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Concept Map

Subsciber123
I am writing a program to create family trees. It is stable, but I would say that it is still in the pre-alpha stage. Anyway, I would like to be able to export the tree to a concept map.

Does anybody know of either a module in python that supports making concept maps or a program that stores its concept maps in an easily duplicable xml format? Any code that anybody has written in python that is relevant in the slightest to creating a concept map would be appreciated.

It would be preferable to be able to create the concept maps in html, svg, pdf, or as an image. Any format, though, would be acceptable. (Of those, html would be the most preferable.)

Note: the reason it needs to be a concept map and not a mind map is because spousal relationships cannot be represented in a mind map. Neither can sibling relationships, but I haven't implemented rendering those yet.
Mar 15 '08 #1
2 2701
raubana
56
All I can say is that you could use the file object (somehow) to save a .txt file.
...or, you could convert this into a pygame program so you could save the picture by saying
Expand|Select|Wrap|Line Numbers
  1. pygame.image.save(screen, "name_of_file.bmp")
  2.  
That's all I can really say. Sorry!
(BTW, please help me, if you could!)
Mar 19 '08 #2
All I can say is that you could use the file object (somehow) to save a .txt file.
...or, you could convert this into a pygame program so you could save the picture by saying
Expand|Select|Wrap|Line Numbers
  1. pygame.image.save(screen, "name_of_file.bmp")
  2.  
That's all I can really say. Sorry!
(BTW, please help me, if you could!)
Thanks for the idea. I have already started using PyX (a TeX/LaTeX wrapper) to create pdf's (and/or eps's). The real reason I asked here, though, was to see if anybody had already created a program for arranging the nodes in the tree/web diagram and drawing lines between them. At the time, I had absolutely no idea how I was going to get that done. Now, at least I have the ability to write text inside rectangles (and word wrap, yay!) with a background color without too much effort.

Now all I have to figure out how to do is arrange the nodes. It would be highly desirable for none of the nodes to overlap, and for the lines connecting the nodes to not go through any of the nodes. Any ideas, anyone? Keep in mind that this family tree software does not limit the family relationships in any way because it was created for a very specific purpose (don't ask). For example, it allows for people to be their own parents, et cetera.

The relationships currently implemented are:
Biological Parental
Adoptive Parental
Spousal
Ex-Spousal

That's it. All other relationships (currently only children) are derived from those ones. I'll probably change it later, though, in the case of children, just so that larger trees don't lag when a node tries to figure out who its children are.

I probably added a lot more information than could be useful for anyone, but that's life. Please let me know if you have any ideas on how to set the location of the nodes.

Thanks.
Mar 20 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: nop90 | last post by:
Proof of concept: Currently I have a web hosting service and it does support php. Can the following be done in php? Explanations or examples would be appreciated. Create 2 applications, app-1...
1
by: Dick | last post by:
Before going in to details i like to understand more about concept and design of this database. Most books go directly in to details. Please, can a current admistrator gife me information on...
4
by: jabailo | last post by:
These guys have it going on. They actually use design ideas that Microsoft employees can drool upon. Visual Studio 2010 Concept IDE http://www.codeproject.com/csharp/Concept_IDE.asp "Like...
3
by: Ramza Brown | last post by:
I have this concept I throwing together. It is not professional or anything, just something I thought might be interesting. The concept is business(me) - to - consumer. It is, What did you buy?....
0
by: duelearning | last post by:
I do not think that on the current market, or being developed, there is a real concept search tool. The key issue is that nobody has offered a satisfactory answer on what a concept is and its...
7
by: srinivas | last post by:
Hi, I am a asp programmer.I am displaying the db records in the html pages in a web page.I have 500 columns and 1000 rows in that html table.Here i am planning to implement the "MS-Excel Freeze...
4
by: mohan | last post by:
Hi All, How to implement virtual concept ( dynamic polymorphism ) in c. I guess i should create a void pointer which is pointing to the function. Not clear about this Does anyone have some idea...
1
by: nimrod | last post by:
i have this problem to solve but not sure how to go about it.can anyone help me please. Environment = market Concept one to many each have action buy and action sell When multiple concepts...
0
by: ParasakthiGuru | last post by:
hai, i don't know Replication concept if anybody can know that replication concept pls sent to me replication brief tutorials By Guru
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.