Git Product home page Git Product logo

ml-lodlive's People

Contributors

garyvidal avatar grtjn avatar joemfb avatar withjam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ml-lodlive's Issues

Fix flash of missing image

When loading a node it appears to try to load an image that doesn't exist - perhaps an ajax loader - until the content appears

Scaling lodlive-graph-context div

I was playing with an implementation of zoom buttons on the lodlive legend included in ml-lodlive-ng, but I notice that once you have transform scaled the lodlive-graph-context div (which works reasonably well), new relations, and nodes when expanding, are drawn in the wrong place. Looks like a counter-measure needs to be taken to compensate for this.

Maybe better if lodlive would come with an object that provides zoom functions itself..

Show iri instead of noName when no labels

I am running with triples for linking only, and don't really have nice labels that go with them. LodLive is showing noName for the start node, which is very non-informative. I'd prefer if it showed <iri> instead.

Strangely enough, on following relations the iri is shown, but without the angular brackets. That is inconsistent with the start node.

Too many concatenated relationships on line

I'm using ml-lodlive over a very large dataset. Some of the entities have multiple (100s) relationships between them.
For example:

  • Sam is Bananas
  • Sam went Bananas
  • Sam ate Bananas
  • Sam dislikes Bananas

On my large dataset the label on the line between the two node circles can look crazy since it is rendering every single relationship.

I've forked the repo here with a candidate fix. It provides a new UI.maxRelationshipsToRender flag which when exceeded renders ' and N more' on the label.

For example, on the line between Sam and Bananas it would render "is, went and 2 more".

Let me know if you want me to raise a PR.

Is this a stable project?

Can we access to a demo of the project ? and also what's the differences with original lodlive?

Thanks.

Access to retrieved data

I'd like to make the legend respond to what data is actually loaded. For instance suppress relations from the legend table, that are not shown. In future I might like to be able to click a relation in the legend, and make that expand all such relations in the lodlive chart. Or maybe I'd like that to cause filtering to be applied, so that all not-selected/clicked relations are hidden from the lodlive (new sparql with extra filter for less data?)

Make query param configurable..

I had to override the /v1/graphs/sparql endpoint to by-pass a bug, but the query param name is hard-coded in ml-lodlive. And REST extensions require adding rs: prefix to params..

Defensively copy jQuery

Had a strange issue that made lodlive stop working. Another script overwrote the global jquery variable so that none of the plugins were available to lodlive anymore. Angular.element().lodlive worked the whole time - most likely because angular keeps its own pointer to jquery. Lodlive may need to do the same to prevent this type of thing from happening with other external scripts.

Dragging nodes offset bug

When clicking nodes to drag them, they jump away with an offset that seems to equal the offset of the ml-lodlive-ng container. Would be nice if 0.3.1 could be patched for this..

Error with semmod:results-payload

I can't get this to work as I am getting an error with the semmod:results-payload function:

XDMP-TOOFEWARGS: (err:XPST0017) semmod:results-payload($headers, $params, $result) -- Too few args, expected 4 but got 3 . See the MarkLogic server error log for further detail.

After checking the results-payload function signature, I can verify that it is expecting 4 arguments, the 4th argument being a 'callback'. I am using ML8 and EA4 ML9.

Any suggestions how I could fix this issue?

/data/ieee-skos.xml not correct RDF

There seems to be something odd with the file. It looks like RDF originally, but contains embedded sem:triple XML. Do you have an original copy?

As workaround, just ingest as XML, instead as RDF. The triple index will pickup the sem:triple XML directly..

Eliminate jquery.ui dependency

I think the only dependency is ui.draggable. Should be easy enough to write drag/drop directly into the codebase instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.