Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f4dd508

Browse files
IvchetoIvcheto
Ivcheto
authored and
Ivcheto
committed
new files
1 parent b2b930c commit f4dd508

30 files changed

+950
-0
lines changed

‎OrgChart/MindFusion.Common.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎OrgChart/MindFusion.Diagramming.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎OrgChart/OrgChartEditor.html

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<title>MindFusion JsDiagram Sample - Tutorial 5</title>
5+
<meta charset="utf-8" />
6+
<link href="common/jquery-ui.min.css" rel="stylesheet" />
7+
<link href="common/samples.css" rel="stylesheet" />
8+
<script type="text/javascript" src="common/jquery.min.js"></script>
9+
<script type="text/javascript" src="common/jquery-ui.min.js"></script>
10+
<script type="text/javascript" src="common/samples.js"></script>
11+
</head>
12+
<body>
13+
<div id="header" style="height: 49px;">
14+
<div style="float: right; margin-right: 5px; margin-top: 17px;">
15+
<a href="OrgChartEditor.js" style="margin-right: 10px;">View source</a>
16+
<button id="expandButton" onclick="onExpandCollapse()">
17+
&gt;</button>
18+
</div>
19+
</div>
20+
<div id="info" style="top: 60px; bottom: 24px;">
21+
<div id="infoTab" style="padding: 10px;">
22+
<h1>
23+
About this sample</h1>
24+
<p>
25+
This example shows how to create a custom node class that exposes some new properties
26+
in addition to the ones defined by TableNode and implements its own drawing logic.
27+
</p>
28+
<h4>
29+
<ul>Features
30+
<li>Editable nodes - select a node with a mouseclick and select an editable field (name, title, comment) to change its' text</li>
31+
<li>Editable images - select an image to edit and paste a url to change it</li>
32+
<li>Adding and deleting nodes - right-click on any node to add a child to it. Right-clicking without a node will add an unconected node to the diagram. Delete a node by pressing the delete button with a selected node</li>
33+
<li>Drag a node without a boss to any node to assign it as that node's child</li>
34+
<li>IDs within the hierarchy are distributed automatically</li>
35+
<li>Hierarchy rearranges automatically once changes by the user are made</li>
36+
</ul>
37+
</h4>
38+
</div>
39+
</div>
40+
<div id="content" style="top: 60px; bottom: 24px;">
41+
<!-- The Diagram component is bound to the canvas element below -->
42+
<div style="width: 100%; height: 100%; overflow: auto;">
43+
<canvas id="diagram" width="2100" height="2100">
44+
This page requires a browser that supports HTML 5 Canvas element.
45+
</canvas>
46+
</div>
47+
</div>
48+
<div id="footer" style="height: 24px;">
49+
<span id="copyright"></span>
50+
</div>
51+
<script src="MindFusion.Common.js" type="text/javascript"></script>
52+
<script src="MindFusion.Diagramming.js" type="text/javascript"></script>
53+
<script src="OrgChartEditor.js" type="text/javascript"></script>
54+
</body>
55+
</html>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /