Comments (3)
Yes, as you say this is related to how browsers handle the "file" scheme and I don't see a workaround, I suggest you use a local web server instead.
About the second question, right now in package.json there is only one build script which minifies the code, probably it would be good to define another script (like "build-dev" or similar) which doesn't perform minification.
from cimdraw.
Thanks for the update.
What about using this without minification? What is the order of files that I have to import to index.html from js dir?
So project can run either like that or on some port like http://localhost:3000 or similar?
from cimdraw.
Supposing you will compile the riot tags under js/tmp, a possible import sequence should be like this:
<script src="js/D3/d3.min.js"></script>
<script src="js/bootstrap/bootstrap.bundle.min.js"></script>
<script src="js/d3-context-menu/d3-context-menu.js"></script>
<script src="js/riot/riot.min.js"></script>
<script src="js/riot/route.standalone.js"></script>
<script src="js/riot/observable.js"></script>
<script src="js/fflate/fflate.min.js"></script>
<script src="js/tmp/cimTopologyProcessor.js"></script>
<script src="js/tmp/cimDiagramControls.js"></script>
<script src="js/tmp/cimDiagram.js"></script>
<script src="js/tmp/cimTree.js"></script>
<script src="js/tmp/cimDraw.js"></script>
<script src="js/schema.js"></script>
<script src="js/model.js"></script>
<script src="js/topology.js"></script>
<script src="js/matpower.js"></script>
<script src="js/diagramUtils.js"></script>
from cimdraw.
Related Issues (12)
- Complete the migration of the repo from Bitbucket to Github (wiki and online demo) HOT 1
- Complete the removal of JQuery dependencies HOT 2
- Use bs-custom-file-input for the file input dialog HOT 1
- Upgrade to D3 v6 HOT 1
- Handle base voltage deletion in tree HOT 1
- Tomcat and CIMDraw HOT 1
- Display limits under equipment HOT 1
- Operational limit sets should be hidden when load flow input is selected
- Links to operational limit sets from diagram popover are sometimes not working HOT 1
- Add CIMDraw to LF Energy landscape page? HOT 3
- Tried to load CGMES files the tree structure is visible, but diagram is not showing up HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cimdraw.