XML文件与T型图之间的转换??
--------------------编程问答--------------------
A ---[串联]---B---[串联]----C
A:并联
a1 or
a2 or
(a3 && a4) or
a5
B:
b1
C:并联
c1 or
c2
<And>
<Or>
a1:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
a2:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
<And>
a3:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
a4:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
</And>
a5:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
</Or>
b1:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
<Or>
c1:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
c2:<Condition Type="Flag" Polarity="FalseOrOpen" Description="Test flag 'Not Used'" />
</Or>
</And> --------------------编程问答-------------------- 我上面的回复好像对你问题没啥帮助,根据那xml描述绘图有难度,帮你顶一下 --------------------编程问答-------------------- 表示感谢!或许中间还应该有个过渡转化的东西
--------------------编程问答-------------------- 有工具可以直接转的 --------------------编程问答--------------------
现在就是要做这个工具 --------------------编程问答-------------------- “我现在做的T型图,是自己做的用户控件”,既然你自己写的控件,那导入导出(xml)时,你自己定义一种格式,根据这个格式保存或者重绘制不就好了么? --------------------编程问答-------------------- 有意思.這种需求.
补充:.NET技术 , C#