Skip to content
Lkx edited this page Feb 6, 2018 · 3 revisions

SDExplorer (Sequence Diagram Explorer) is a flexible and lightweight tool for visualizing program's behavior. We take traces as input and draw Sequence Diagrams. We focus on the mission "Exploring large sequence diagrams and digging out the useful information".

Requirement

Please import d3.js while using SDExplorer.

A guaranteed version of d3.js is 3.5.6. You can simply import it using cdn:

<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js"></script>

Installation

  • Download sd.js or sd.min.js from release page. Or build them from project. (See Compile)
  • Import it like this:
<script src="{{ js directory }}/sd.js"></script>
<!-- Or use a minimized file to speed up loading -->
<script src="{{ js directory }}/sd.min.js"></script>

Compile

Want to build sd.js or sd.min.js from souce code? Follow these steps:

  • Clone the repository (you can also fork it into your account):
git clone https://github.com/Lyukx/SDExplorer
  • Make sure you have installed node.js and npm on your computer. If not, refer to node.js and get-npm.
  • Install reference
npm install
  • Run prepublish script to compile sd.js and sd.min.js!
npm run prepublish
Clone this wiki locally