`
hw_alex
  • 浏览: 88432 次
社区版块
存档分类
最新评论

zkDiagram: interactive diagrams and visual program

    博客分类:
  • ZK
阅读更多
zkDiagram是 draw2d 库的综合 .使用这个库可以在web程序中使用Visio-style来画图表
官方网站:http://www.integratedmodelling.org/software/zk/zkdiagram.html

代码:
<?xml version="1.0" encoding="utf-8"?>
<?page title="ZK::First Draw2D Workspace"?>
<window border="none">
	<vbox id="map">
		<workspace width="600px" height="600px" router="bezier">
			<textnode fillColor="#bbbbbb" x="10" y="90" width="240"
				height="50"
				text="This is a simple demo. Try moving and connecting shapes." />
			<imagenode img="flow.gif" x="100" y="200" width="48"
				height="40">
				<port position="left" />
				<port position="right" />
			</imagenode>
			<imagenode img="variable.gif" x="100" y="250" width="48"
				height="40">
				<port position="top" />
				<port position="bottom" />
			</imagenode>
			<imagenode img="flow.gif" x="200" y="300" width="48"
				height="40">
				<port position="top" />
				<port position="bottom" />
			</imagenode>
			<zknode x="200" y="175" width="300" height="60"><!--  any ZK component... -->
				<window border="none">
					<listbox id="box" width="300px" multiple="true"
						checkmark="true">
						<listhead>
							<listheader label="Name" />
							<listheader label="Gender" />
							<listheader label="Age" />
							<listheader label="Description" />
						</listhead>
						<listitem>
							<listcell label="Mary" />
							<listcell label="FEMALE" />
							<listcell label="18" />
							<listcell label="A young lady." />
						</listitem>
						<listitem>
							<listcell label="John" />
							<listcell label="MALE" />
							<listcell label="20" />
							<listcell label="A college student." />
						</listitem>
					</listbox>
				</window><!-- and as many ports as we want -->
				<port position="left" />
				<port position="left" />
				<port position="right" />
			</zknode>
		</workspace>
	</vbox>
</window>


效果图:

分享到:
评论

相关推荐

    CODESYS UML 4.1.1.0.package

    UML consists of 14 different diagram types in two main categories: structure diagrams and behavior diagrams. Structure diagrams schematically illustrate the architecture of software and are basically...

    AVEVA PDMS Diagrams-P&ID-Designer-(GZ-1)-12.0.SP6.pdf

    Aveva PDMS Diagrams-P&ID-Designer-(GZ-1)-12.0.SP6 AVEVA PDMS Diagrams是PDMS12.0中新增的模块,用于绘制P&ID图纸,并与三维模型联动。该模块基于PDMS数据库,使用Visio的设计界面,实现P&ID图纸与P&ID数据库...

    Visual paradigm 社区版下载及中文菜单的设置

    Visual Paradigm 社区版下载及中文菜单设置 Visual Paradigm 是一个功能强大且广泛应用的UML建模工具,它提供了社区版可以免费下载和使用。下面我们将详细介绍 Visual Paradigm 社区版的下载和安装过程,以及如何...

    diagrams-net-azure-libraries:这是Diagrams.net(https:app.diagrams.net)(以前称为Draw.io)的图标库的集合。

    《Diagrams.net(Draw.io)Azure图标库解析与应用》 Diagrams.net,原名Draw.io,是一款功能强大的在线图表绘制工具,深受广大IT专业人士喜爱。它提供了丰富的图形库,帮助用户轻松创建流程图、网络图、UML图等各种...

    Computational Geometry: Algorithms and Applications 3E De Berg

    In this third edition, besides revisions to the second edition, new sections discussing Voronoi diagrams of line segments, farthest-point Voronoi diagrams, and realistic input models have been added. ...

    画:https:app.diagrams.net

    标题 "画:https:app.diagrams.net" 暗示我们正在讨论的是一个在线图表绘制工具,名为 Draw.io 或者 diagrams.net。这是一个免费且开源的应用程序,用户可以通过它创建各种类型的图表,包括流程图、思维导图、网络...

    VLSI Fabrication Principles, Silicon and Gallium Arsenide

    Phase Diagrams and Solid Solubility. Crystal Growth and Doping. Diffusion. Epitaxy. Ion Implantation. Native Films. Deposited Films. Etching and Cleaning. Lithographic Processes. Device and ...

    Managing Gigabytes: Compressing and Indexing Documents and Images

    In addition to diagrams and example text transformations, the authors use "pseudo-code" to present algorithms in a language-independent manner wherever possible. They also supplement the reading with...

    Visual Diagram

    在IT行业中,视觉图表,尤其是"Visual Diagram",是一种强大的工具,用于清晰地表示和传达复杂的信息、系统架构或流程。这种图表通过图形化的方式帮助我们理解和解析抽象概念,是软件开发、项目管理以及系统分析等...

    Bayesian Networks and Influence Diagrams

    "Bayesian Networks and Influence Diagrams: A Guide to Construction and Analysis" provides a comprehensive guide for practitioners who wish to understand, construct, and analyze intelligent systems ...

    PHP and MYSQL Bilbe [英文原版]

    Author: Tim Converse and Joyce Park with Clark Morgan Published by Wiley Publishing, Inc. Prefix Part I: PHP: The Basics 1 Chapter 1: Why PHP and MySQL? 3 Chapter 2: Server-Side Web Scripting 19 ...

    interactive-diagrams:交互图

    【标题】"interactive-diagrams:交互图"是一个用于创建交互式图表和动态渲染图表的工具,它基于Haskell编程语言。这个项目旨在提供一个高效、灵活的框架,使得开发者能够轻松地构建各种可视化应用,例如数据可视化、...

    Bayesian Networks and Influence Diagrams 2nd Edition

    ### Bayesian Networks and Influence Diagrams: A Guide to Construction and Analysis #### 概述 《贝叶斯网络与影响图:构建与分析指南》第二版是一本深入探讨贝叶斯网络(Bayesian networks)及其在决策支持...

    Block Diagrams and Transfer Functions_recentlyicb_book_

    《Block Diagrams and Transfer Functions》是一本深入探讨控制系统理论的书籍,主要关注的是信号处理和系统分析中的关键概念。在IT行业中,这类知识对于理解和设计自动化系统、通信网络以及电子设备至关重要。描述...

    Program.Design.2.0

    Therefore, we conclude that program design 2.0 using the SBC approach, which contains three fundamental diagrams: a) framework diagram, b) component operation diagram, and c) interaction flow diagram...

    Beyond Software Architecture: Creating and Sustaining Winning Solutions

    Context Diagrams and Target Products Chapter Summary Check This Try This Chapter 4. Business and License Model Symbiosis Common Software Business Models ...

Global site tag (gtag.js) - Google Analytics