Idea

Serge A avatar image
6 Likes"
Serge A suggested Serge A edited

Add human-readable node values in XML format

When saving the model as XML (.fsx), the numerical values of tree nodes are saved in binary (hexadecimal) format. This is a reasonable serialization choice to load exactly the same numerical values later, but these dumps are not human-readable and are opaque for external tooling.

In particular, they defeat the idea of using the XML format for version control, because diffs cannot be easily interpreted. We can see what nodes were changed, but not how:

I suggest to add an additional attribute for data nodes, which will contain a human-readable representation of the value. Something along the lines of:

<node f="42" dt="1"> <name>itemcurrent</name> <data value="0.0">0000000000000000</data> </node>

The additional attribute can be ignored when loading the file.

xmlversion controlfile format
diff-fsx.png (19.0 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

No Comments

·

Write a Comment

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.

Related Ideas