Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic new Public property (Read 6298 times)
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
new Public property
Mar 30th, 2010 at 11:39am
Print Post  
Guys

The work with my client using Flowchart.Net has me making use of the Tag property field on shapenodes for a variety of purposes, one of which is the use of a unique Guid field used in database records to associate data with shapenodes.
It would be nice if every shapenode/diagramnode/link had a Guid Id field to uniquely identify the items and for greater integration between Flowchart.net and database records.

Let me know if this does not make sense.

Doug
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: new Public property
Reply #1 - Mar 31st, 2010 at 6:20am
Print Post  
It does, but a Guid type will limit the kind of ids you can associate with nodes. We could make it and "object Id" property, and let you associate integer / string / guid values with it. I suppose this would not be any different from Tag, but will only provide an additional field for custom data.

Stoyan
  
Back to top
 
IP Logged
 
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
Re: new Public property
Reply #2 - Apr 3rd, 2010 at 3:00am
Print Post  
Stoyan
Sorry for the delay in getting back to you.
Having another field ''object type" would be fine as everyone has different needs. Given that I and probably many other developers are linking the chart to a database the use of an additional data field would be tremendous.

For instance I access a database to gather the data for charting; I record key items of information in a record structure (below) that I store information in the .Tag field which can be interrogated at anytime without going back to the database.

Having a separate data field like .tag would be great in my case for storing a unique id for the node and leave the tag to contain my other data elements.

regards
Doug :)

    Structure NodeDetails
       '
       Dim Node_ProjectID As Guid
       Dim Node_EntityID As Guid
       Dim Node_RealEntity As Boolean
       Dim Node_ParentID As Guid
       Dim Node_EntityType As enmEntityType
       Dim Node_DescOfEntity As String
       Dim Node_GroupID As String
       '
    End Structure
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: new Public property
Reply #3 - Apr 22nd, 2010 at 9:04am
Print Post  
Hi Doug,

This version adds an Id property to DiagramItem:
https://mindfusion.eu/_beta/diagwin_535.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
Re: new Public property
Reply #4 - Apr 22nd, 2010 at 9:20am
Print Post  
Stoyan

Absolutely brilliant; I hope than many developers can make use of this additional id property for linking diagram and shape nodes to their databases or for many other valid uses.

Well done; you certainly are one of the best product developers who listens to and implements user suggestions that have value to others.

regards
Doug Smiley Smiley Smiley
« Last Edit: Apr 22nd, 2010 at 1:13pm by BidMaestro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint